mpv: use rcodesign instead of darwin.codesign

Co-authored-by: Randy Eckenrode <randy@largeandhighquality.com>

+3 -4
+1 -1
pkgs/applications/video/mpv/darwin-sigtool-no-deep.patch
··· 7 8 def sign_bundle(binary_name): 9 - sh('codesign --force --deep -s - ' + bundle_path(binary_name)) 10 - + sh('codesign --force -s - ' + bundle_path(binary_name)) 11 12 def bundle_version(): 13 if os.path.exists('VERSION'):
··· 7 8 def sign_bundle(binary_name): 9 - sh('codesign --force --deep -s - ' + bundle_path(binary_name)) 10 + + sh('rcodesign sign ' + bundle_path(binary_name)) 11 12 def bundle_version(): 13 if os.path.exists('VERSION'):
+2 -2
pkgs/applications/video/mpv/default.nix
··· 20 , libuchardet 21 , libiconv 22 , xcbuild 23 - , sigtool 24 25 , waylandSupport ? stdenv.isLinux 26 , wayland ··· 156 ninja 157 pkg-config 158 ] 159 - ++ lib.optionals stdenv.isDarwin [ xcbuild.xcrun sigtool ] 160 ++ lib.optionals swiftSupport [ swift ] 161 ++ lib.optionals waylandSupport [ wayland-scanner ]; 162
··· 20 , libuchardet 21 , libiconv 22 , xcbuild 23 + , rcodesign 24 25 , waylandSupport ? stdenv.isLinux 26 , wayland ··· 156 ninja 157 pkg-config 158 ] 159 + ++ lib.optionals stdenv.isDarwin [ xcbuild.xcrun rcodesign ] 160 ++ lib.optionals swiftSupport [ swift ] 161 ++ lib.optionals waylandSupport [ wayland-scanner ]; 162
-1
pkgs/top-level/all-packages.nix
··· 33765 mpv-unwrapped = darwin.apple_sdk_11_0.callPackage ../applications/video/mpv { 33766 stdenv = if stdenv.isDarwin then swiftPackages.stdenv else stdenv; 33767 inherit lua; 33768 - inherit (darwin) sigtool; # otherwise it breaks splicing... 33769 }; 33770 33771 shaka-packager = callPackage ../applications/video/shaka-packager { };
··· 33765 mpv-unwrapped = darwin.apple_sdk_11_0.callPackage ../applications/video/mpv { 33766 stdenv = if stdenv.isDarwin then swiftPackages.stdenv else stdenv; 33767 inherit lua; 33768 }; 33769 33770 shaka-packager = callPackage ../applications/video/shaka-packager { };