darwin.libsecurity: switch to multiple outputs

This commit is contained in:
Matthew Bauer 2018-07-02 17:49:24 -04:00
parent 526103a82d
commit 907d7518d8
2 changed files with 4 additions and 3 deletions

View File

@ -28,6 +28,7 @@ name: version: sha256: args: let
ln -s lib ${n}
makeFlagsArray=(-j$NIX_BUILD_CORES)
'';
outputs = [ "out" "dev" ];
buildInputs = [
pkgs.gnustep.make
pkgs.darwin.apple_sdk.frameworks.AppKit

View File

@ -9,7 +9,7 @@ appleDerivation {
unpackFile ${libsecurity_cdsa_client.src}
mv libsecurity_cdsa_client*/lib security_cdsa_client
ln -s lib securityd_client
patch -p1 < ${./xdr-arity.patch}
'';
preBuild = ''
@ -17,7 +17,7 @@ appleDerivation {
cp derived_src/* lib
rm lib/ucspClientC.c
'';
postInstall = ''
ln -s ''$out/include/securityd ''$out/include/securityd_client
postFixup = ''
ln -s $dev/include/securityd $dev/include/securityd_client
'';
}