2015-02-08 06:53:52 +00:00
|
|
|
{ stdenv, appleDerivation, libdispatch, xnu }:
|
|
|
|
|
|
|
|
appleDerivation {
|
|
|
|
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ libdispatch xnu ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2016-08-16 00:05:52 +01:00
|
|
|
mkdir -p $out/include/pthread
|
2015-02-08 06:53:52 +00:00
|
|
|
cp pthread/*.h $out/include/pthread/
|
2016-08-16 00:05:52 +01:00
|
|
|
cp private/*.h $out/include/pthread/
|
2015-02-08 06:53:52 +00:00
|
|
|
'';
|
|
|
|
}
|