summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-source-releases/Libc/default.nix
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/Libc/default.nix
parent344c672bb5b63790f4cf67c1e00e138ad641fb0e (diff)
downloadnixpkgs-948b7f23bbc42a87e66a473c5c4543cfa5a03da7.tar
nixpkgs-948b7f23bbc42a87e66a473c5c4543cfa5a03da7.tar.gz
nixpkgs-948b7f23bbc42a87e66a473c5c4543cfa5a03da7.tar.bz2
nixpkgs-948b7f23bbc42a87e66a473c5c4543cfa5a03da7.tar.lz
nixpkgs-948b7f23bbc42a87e66a473c5c4543cfa5a03da7.tar.xz
nixpkgs-948b7f23bbc42a87e66a473c5c4543cfa5a03da7.tar.zst
nixpkgs-948b7f23bbc42a87e66a473c5c4543cfa5a03da7.zip
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/Libc/default.nix')
-rw-r--r--pkgs/os-specific/darwin/apple-source-releases/Libc/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/darwin/apple-source-releases/Libc/default.nix b/pkgs/os-specific/darwin/apple-source-releases/Libc/default.nix
index 16cfa9e554b..ce04be0e083 100644
--- a/pkgs/os-specific/darwin/apple-source-releases/Libc/default.nix
+++ b/pkgs/os-specific/darwin/apple-source-releases/Libc/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, appleDerivation, ed, unifdef, Libc_old }:
+{ stdenv, appleDerivation, ed, unifdef, Libc_old, Libc_10-9 }:
 
 appleDerivation {
   phases = [ "unpackPhase" "installPhase" ];
@@ -13,6 +13,8 @@ appleDerivation {
     export PRIVATE_HEADERS_FOLDER_PATH=include
     bash xcodescripts/headers.sh
 
+    cp ${Libc_10-9}/include/NSSystemDirectories.h $out/include
+
     # Ugh Apple stopped releasing this stuff so we need an older one...
     cp    ${Libc_old}/include/spawn.h    $out/include
     cp    ${Libc_old}/include/setjmp.h   $out/include