nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libsecurity_ocspd/default.nix

21 lines
460 B
Nix
Raw Normal View History

2015-06-22 05:29:33 +02:00
{ appleDerivation, bootstrap_cmds, libsecurity_cdsa_utilities, libsecurity_utilities, osx_private_sdk }:
appleDerivation {
buildInputs = [
libsecurity_utilities
libsecurity_cdsa_utilities
bootstrap_cmds
];
postUnpack = ''
pushd libsecurity*
ls -lah
mkdir -p lib
cp common/* lib
cp client/* lib
popd
'';
preBuild = ''
make -f mig/mig.mk SRCROOT=. BUILT_PRODUCTS_DIR=. || exit 1
cp derived_src/* lib
'';
}