summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/usr-include
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2022-01-15 04:16:21 -0500
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2022-01-15 04:16:21 -0500
commit831e799e477e0ace7ed0c848dc304b847937db24 (patch)
treecad76f7203b520c1ae75b78356ee62921f2cb3ae /pkgs/os-specific/darwin/usr-include
parentb47203b28f5cf1efc4e3476ca8f333db3a2c3223 (diff)
downloadnixpkgs-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.nix23
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;
-}