forked from mirrors/nixpkgs
mc: fix code signature on aarch64-darwin
This commit is contained in:
parent
755d980440
commit
aadc07a3d9
|
@ -16,6 +16,7 @@
|
|||
, openssl
|
||||
, coreutils
|
||||
, autoreconfHook
|
||||
, autoSignDarwinBinariesHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -27,7 +28,12 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-xt6txQWV8tmiLcbCmanyizk+NYNG6/bKREqEadwWbCc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook unzip ];
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook unzip ]
|
||||
# The preFixup hook rewrites the binary, which invaliates the code
|
||||
# signature. Add the fixup hook to sign the output.
|
||||
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [
|
||||
autoSignDarwinBinariesHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
file
|
||||
|
|
|
@ -6695,7 +6695,9 @@ in
|
|||
|
||||
mbutil = python3Packages.callPackage ../applications/misc/mbutil { };
|
||||
|
||||
mc = callPackage ../tools/misc/mc { };
|
||||
mc = callPackage ../tools/misc/mc {
|
||||
inherit (darwin) autoSignDarwinBinariesHook;
|
||||
};
|
||||
|
||||
mcabber = callPackage ../applications/networking/instant-messengers/mcabber { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue