diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2024-02-02 10:53:07 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2024-02-09 21:28:46 -0300 |
commit | 7e96adf643f17b7a08d6febdf12b4be484305b82 (patch) | |
tree | 182a1d1bd434eaedbd844130d76e73c7e4fae494 /pkgs/applications | |
parent | ce6ca5eb065dfe98789b6cd698788f02328efc67 (diff) |
mpv: use rcodesign instead of darwin.codesign
Co-authored-by: Randy Eckenrode <randy@largeandhighquality.com>
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/video/mpv/darwin-sigtool-no-deep.patch | 2 | ||||
-rw-r--r-- | pkgs/applications/video/mpv/default.nix | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/video/mpv/darwin-sigtool-no-deep.patch b/pkgs/applications/video/mpv/darwin-sigtool-no-deep.patch index 35ca32653a36f..74ab97db4e540 100644 --- a/pkgs/applications/video/mpv/darwin-sigtool-no-deep.patch +++ b/pkgs/applications/video/mpv/darwin-sigtool-no-deep.patch @@ -7,7 +7,7 @@ index 98699e478b..d02ecf610e 100755 def sign_bundle(binary_name): - sh('codesign --force --deep -s - ' + bundle_path(binary_name)) -+ sh('codesign --force -s - ' + bundle_path(binary_name)) ++ sh('rcodesign sign ' + bundle_path(binary_name)) def bundle_version(): if os.path.exists('VERSION'): diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index 88c13cf1c105e..02c3aa2ad17a4 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -20,7 +20,7 @@ , libuchardet , libiconv , xcbuild -, sigtool +, rcodesign , waylandSupport ? stdenv.isLinux , wayland @@ -156,7 +156,7 @@ in stdenv'.mkDerivation (finalAttrs: { ninja pkg-config ] - ++ lib.optionals stdenv.isDarwin [ xcbuild.xcrun sigtool ] + ++ lib.optionals stdenv.isDarwin [ xcbuild.xcrun rcodesign ] ++ lib.optionals swiftSupport [ swift ] ++ lib.optionals waylandSupport [ wayland-scanner ]; |