about summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-source-releases/libpthread
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2016-08-14 12:52:47 -0400
committerDan Peebles <pumpkin@me.com>2016-08-14 12:53:33 -0400
commit948b7f23bbc42a87e66a473c5c4543cfa5a03da7 (patch)
tree0b6f8362f1fa6b36d1b01f552a83551f688fa747 /pkgs/os-specific/darwin/apple-source-releases/libpthread
parent344c672bb5b63790f4cf67c1e00e138ad641fb0e (diff)
darwin.{xnu, Libc}: 10.9 -> 10.11
I can't submit this in smaller units because the various components all
depend on one another during the stdenv bootstrap, so I think this is
the smallest sensible change I can make.

I also removed the symbol-hiding shenanigans in Libsystem. It might mess
up compatibility with 10.9 but I don't really want to support the added
complexity and I see little evidence of anyone else wanting to support
it. If someone cares, we might be able to revive compatibility, but for
now it'll stay like this.
Diffstat (limited to 'pkgs/os-specific/darwin/apple-source-releases/libpthread')
-rw-r--r--pkgs/os-specific/darwin/apple-source-releases/libpthread/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/os-specific/darwin/apple-source-releases/libpthread/default.nix b/pkgs/os-specific/darwin/apple-source-releases/libpthread/default.nix
index 027784e2ea6d5..50794814aa0ff 100644
--- a/pkgs/os-specific/darwin/apple-source-releases/libpthread/default.nix
+++ b/pkgs/os-specific/darwin/apple-source-releases/libpthread/default.nix
@@ -6,8 +6,12 @@ appleDerivation {
   propagatedBuildInputs = [ libdispatch xnu ];
 
   installPhase = ''
-    mkdir -p $out/include/pthread
+    mkdir -p $out/include/pthread/
+    mkdir -p $out/include/sys/_types
     cp pthread/*.h $out/include/pthread/
     cp private/*.h $out/include/pthread/
+    cp -r sys $out/include
+    cp -r sys/_pthread/*.h $out/include/sys/_types/
+
   '';
 }