From 7e96adf643f17b7a08d6febdf12b4be484305b82 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 2 Feb 2024 10:53:07 -0300 Subject: mpv: use rcodesign instead of darwin.codesign Co-authored-by: Randy Eckenrode --- pkgs/applications/video/mpv/darwin-sigtool-no-deep.patch | 2 +- pkgs/applications/video/mpv/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/applications/video') 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 ]; -- cgit 1.4.1