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