nixpkgs-suyu/pkgs/os-specific/darwin/apple-source-releases/libsecurity_cdsa_utilities/default.nix
Matthew Bauer 8505e710e7 Revert "darwin 10.12 commits"
Reverts commits bumping to macOS stuff to 10.12:

commit ec1f78d1cb.
commit d0dc91d24f.
commit a1d297374d.
commit 425112151d.
commit e6f7f2928f.
2019-01-03 15:20:26 -06:00

13 lines
398 B
Nix

{ CommonCrypto, appleDerivation, libsecurity_codesigning, libsecurity_utilities, m4 }:
appleDerivation {
buildInputs = [
libsecurity_utilities
m4
];
patchPhase = ''
patch -p1 < ${./handletemplates.patch}
unpackFile ${libsecurity_codesigning.src}
mv libsecurity_codesigning*/lib security_codesigning
'';
NIX_CFLAGS_COMPILE = "-I${CommonCrypto}/include/CommonCrypto";
}