nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libsecurity_apple_x509_tp/default.nix
2015-07-10 10:41:07 -07:00

19 lines
595 B
Nix

{ appleDerivation, libsecurity_asn1, libsecurity_cdsa_client, libsecurity_cdsa_plugin, libsecurity_cdsa_utilities, libsecurity_filedb, libsecurity_keychain, libsecurity_ocspd, libsecurity_utilities, libsecurityd }:
appleDerivation {
buildInputs = [
libsecurity_cdsa_plugin
libsecurity_cdsa_utilities
libsecurity_utilities
libsecurityd
libsecurity_cdsa_client
libsecurity_keychain
libsecurity_filedb
libsecurity_asn1
libsecurity_ocspd
];
patchPhase = ''
for file in lib/*; do
sed -i 's/#include <\(.*\)>/#include "\1"/' ''$file
done
'';
}