darwin.libsecurity: switch to multiple outputs
This commit is contained in:
parent
526103a82d
commit
907d7518d8
@ -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
|
||||
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user