3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libsecurity_cdsa_plugin/default.nix
Domen Kožar e211504db6
Get rid of some usages of osx_private_sdk
For example this reduces haskell closure on
darwin for some packages for almost 500MB.
2017-07-09 22:48:04 +02:00

16 lines
418 B
Nix

{ appleDerivation, libsecurity_cdsa_utilities, libsecurity_cssm, libsecurity_utilities, perl }:
appleDerivation {
buildInputs = [
libsecurity_cdsa_utilities
libsecurity_utilities
perl
];
patchPhase = ''
unpackFile ${libsecurity_cssm.src}
cp libsecurity_cssm*/lib/cssm{dli,aci,cli,cspi,tpi}.h lib
'';
preBuild = ''
perl lib/generator.pl lib lib/generator.cfg lib lib || exit 1
'';
}