3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libpthread/default.nix
Shea Levy 9adad8612b Revert "Merge branch 'modprobe-fix' of git://github.com/abbradar/nixpkgs"
Was meant to go into staging, sorry

This reverts commit 57b2d1e9b0, reversing
changes made to 760b2b9048.
2016-08-15 19:05:52 -04:00

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/
'';
}