xpc: copy instead of linking to sdk
This prevents the apple sdk from coming into security tool Fixes #42836
This commit is contained in:
parent
907d7518d8
commit
db414a2f5e
@ -160,8 +160,8 @@ in rec {
|
||||
installPhase = ''
|
||||
mkdir -p $out/include
|
||||
pushd $out/include >/dev/null
|
||||
ln -s "${lib.getDev sdk}/include/xpc"
|
||||
ln -s "${lib.getDev sdk}/include/launch.h"
|
||||
cp -r "${lib.getDev sdk}/include/xpc" $out/include/xpc
|
||||
cp "${lib.getDev sdk}/include/launch.h" $out/include/launch.h
|
||||
popd >/dev/null
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user