darwin/Security: use darwin-stubs
This commit is contained in:
parent
b176ad9546
commit
03988a5fec
@ -1,4 +1,4 @@
|
|||||||
{ appleDerivation }:
|
{ appleDerivation, darwin-stubs }:
|
||||||
|
|
||||||
appleDerivation {
|
appleDerivation {
|
||||||
phases = [ "unpackPhase" "installPhase" ];
|
phases = [ "unpackPhase" "installPhase" ];
|
||||||
@ -12,14 +12,15 @@ appleDerivation {
|
|||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
###### IMPURITIES
|
|
||||||
mkdir -p $out/Library/Frameworks/Security.framework
|
mkdir -p $out/Library/Frameworks/Security.framework
|
||||||
pushd $out/Library/Frameworks/Security.framework
|
|
||||||
ln -s /System/Library/Frameworks/Security.framework/Security
|
###### IMPURITIES
|
||||||
ln -s /System/Library/Frameworks/Security.framework/Resources
|
ln -s /System/Library/Frameworks/Security.framework/{Resources,Plugins,XPCServices} \
|
||||||
ln -s /System/Library/Frameworks/Security.framework/PlugIns
|
$out/Library/Frameworks/Security.framework
|
||||||
ln -s /System/Library/Frameworks/Security.framework/XPCServices
|
|
||||||
popd
|
###### STUBS
|
||||||
|
cp ${darwin-stubs}/System/Library/Frameworks/Security.framework/Versions/A/Security.tbd \
|
||||||
|
$out/Library/Frameworks/Security.framework
|
||||||
|
|
||||||
###### HEADERS
|
###### HEADERS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user