3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libdispatch/default.nix

17 lines
411 B
Nix
Raw Normal View History

{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/include/dispatch $out/include/os
2017-05-24 00:13:20 +01:00
# Move these headers so CF can find <os/voucher_private.h>
mv private/voucher*.h $out/include/os
cp -r private/*.h $out/include/dispatch
2017-05-24 00:13:20 +01:00
cp -r dispatch/*.h $out/include/dispatch
2015-10-23 18:34:17 +01:00
cp -r os/object*.h $out/include/os
'';
}