Skip to content

Commit

Permalink
cf-private: overwrite headers from CF
Browse files Browse the repository at this point in the history
  • Loading branch information
LnL7 committed Nov 9, 2017
1 parent 3b71628 commit 63bac2c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/os-specific/darwin/cf-private/default.nix
Expand Up @@ -7,12 +7,14 @@ stdenv.mkDerivation {
dest=$out/Library/Frameworks/CoreFoundation.framework/Headers
mkdir -p $dest
pushd $dest
cp -Lv ${osx_private_sdk}/include/CoreFoundationPrivateHeaders/* $dest
for file in ${CF}/Library/Frameworks/CoreFoundation.framework/Headers/*; do
ln -sf $file
ln -sf $file
done
popd
# Copy or overwrite private headers, some of these might already
# exist in CF but the private versions have more information.
cp -Lfv ${osx_private_sdk}/include/CoreFoundationPrivateHeaders/* $dest
popd
'';

setupHook = ./setup-hook.sh;
Expand Down

0 comments on commit 63bac2c

Please sign in to comment.