Add a big bundle of packages from apple source releases. Many of them only provide headers or stubs, but are what's needed for the upcoming pure-darwin stdenv, and don't do any harm for now.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{ 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/
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user