nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libdispatch/default.nix

13 lines
303 B
Nix

{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/include/dispatch $out/include/os
cp -r dispatch/*.h $out/include/dispatch
cp -r private/*.h $out/include/dispatch
cp -r os/object.h $out/include/os
'';
}