mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
16 lines
453 B
Nix
16 lines
453 B
Nix
{ appleDerivation, libsecurity_asn1, libsecurity_cdsa_client, libsecurity_cdsa_utils, libsecurity_keychain, osx_private_sdk }:
|
|
appleDerivation {
|
|
patchPhase = ''
|
|
substituteInPlace lib/pkcsoids.h --replace '#error' '#warning'
|
|
'';
|
|
preBuild = ''
|
|
unpackFile ${libsecurity_keychain.src}
|
|
mv libsecurity_keychain*/lib security_keychain
|
|
'';
|
|
buildInputs = [
|
|
libsecurity_asn1
|
|
libsecurity_cdsa_utils
|
|
libsecurity_cdsa_client
|
|
];
|
|
}
|