forked from mirrors/nixpkgs
9adad8612b
Was meant to go into staging, sorry This reverts commit57b2d1e9b0
, reversing changes made to760b2b9048
.
14 lines
317 B
Nix
14 lines
317 B
Nix
{ stdenv, appleDerivation, libdispatch, xnu }:
|
|
|
|
appleDerivation {
|
|
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
|
|
|
|
propagatedBuildInputs = [ libdispatch xnu ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/include/pthread
|
|
cp pthread/*.h $out/include/pthread/
|
|
cp private/*.h $out/include/pthread/
|
|
'';
|
|
}
|