Merge pull request #155089 from veprbl/pr/usr-include_remove
darwin.usr-include: remove
This commit is contained in:
commit
66ab3568d6
@ -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;
|
||||
}
|
@ -154,8 +154,6 @@ impure-cmds // appleSourcePackages // chooseLibs // {
|
||||
|
||||
trash = callPackage ../os-specific/darwin/trash { };
|
||||
|
||||
usr-include = callPackage ../os-specific/darwin/usr-include { };
|
||||
|
||||
xattr = pkgs.python3Packages.callPackage ../os-specific/darwin/xattr { };
|
||||
|
||||
inherit (pkgs.callPackages ../os-specific/darwin/xcode { })
|
||||
|
Loading…
Reference in New Issue
Block a user