diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-07-02 17:49:59 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-07-02 17:51:38 -0400 |
commit | db414a2f5e3a7e7ffd84649e979b628da3cb26ee (patch) | |
tree | e95246068ede9a9eaaed0a4f40bc43eb960433ee /pkgs/os-specific/darwin/apple-sdk | |
parent | 907d7518d8d86a81fd2f7c6b85343c29ce6acde4 (diff) | |
download | nixpkgs-db414a2f5e3a7e7ffd84649e979b628da3cb26ee.tar nixpkgs-db414a2f5e3a7e7ffd84649e979b628da3cb26ee.tar.gz nixpkgs-db414a2f5e3a7e7ffd84649e979b628da3cb26ee.tar.bz2 nixpkgs-db414a2f5e3a7e7ffd84649e979b628da3cb26ee.tar.lz nixpkgs-db414a2f5e3a7e7ffd84649e979b628da3cb26ee.tar.xz nixpkgs-db414a2f5e3a7e7ffd84649e979b628da3cb26ee.tar.zst nixpkgs-db414a2f5e3a7e7ffd84649e979b628da3cb26ee.zip |
xpc: copy instead of linking to sdk
This prevents the apple sdk from coming into security tool Fixes #42836
Diffstat (limited to 'pkgs/os-specific/darwin/apple-sdk')
-rw-r--r-- | pkgs/os-specific/darwin/apple-sdk/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/darwin/apple-sdk/default.nix b/pkgs/os-specific/darwin/apple-sdk/default.nix index a62182f1d34..d4a48b9c372 100644 --- a/pkgs/os-specific/darwin/apple-sdk/default.nix +++ b/pkgs/os-specific/darwin/apple-sdk/default.nix @@ -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 ''; }; |