diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2022-01-15 04:16:21 -0500 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2022-01-15 04:16:21 -0500 |
commit | 831e799e477e0ace7ed0c848dc304b847937db24 (patch) | |
tree | cad76f7203b520c1ae75b78356ee62921f2cb3ae /pkgs/os-specific/darwin/usr-include | |
parent | b47203b28f5cf1efc4e3476ca8f333db3a2c3223 (diff) | |
download | nixpkgs-831e799e477e0ace7ed0c848dc304b847937db24.tar nixpkgs-831e799e477e0ace7ed0c848dc304b847937db24.tar.gz nixpkgs-831e799e477e0ace7ed0c848dc304b847937db24.tar.bz2 nixpkgs-831e799e477e0ace7ed0c848dc304b847937db24.tar.lz nixpkgs-831e799e477e0ace7ed0c848dc304b847937db24.tar.xz nixpkgs-831e799e477e0ace7ed0c848dc304b847937db24.tar.zst nixpkgs-831e799e477e0ace7ed0c848dc304b847937db24.zip |
darwin.usr-include: remove
Originally introduced in 8610a344 ('gcc: use special native system headers for darwin') as a hack, not used anymore.
Diffstat (limited to 'pkgs/os-specific/darwin/usr-include')
-rw-r--r-- | pkgs/os-specific/darwin/usr-include/default.nix | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/pkgs/os-specific/darwin/usr-include/default.nix b/pkgs/os-specific/darwin/usr-include/default.nix deleted file mode 100644 index 26b60ea44f5..00000000000 --- a/pkgs/os-specific/darwin/usr-include/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{lib, stdenv, darwin}: - -/* - * This is needed to build GCC on Darwin. - * - * These are the collection of headers that would normally be available under - * /usr/include in macOS machines with command line tools installed. They need - * to be in one folder for gcc to use them correctly. - */ - -stdenv.mkDerivation { - name = "darwin-usr-include"; - buildInputs = [ darwin.CF stdenv.libc ]; - buildCommand = '' - mkdir -p $out - cd $out - ln -sf ${stdenv.libc}/include/* . - mkdir CoreFoundation - ln -sf ${darwin.CF}/Library/Frameworks/CoreFoundation.framework/Headers/* CoreFoundation - ''; - - meta.platforms = lib.platforms.darwin; -} |