From 7e70f890c428852f6cda91fcefc0edb84031f370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 24 Apr 2012 16:14:44 +0000 Subject: [PATCH] Darwin: Change `noSysDirs' to `false' by default. svn path=/nixpkgs/trunk/; revision=33911 --- pkgs/top-level/all-packages.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 16f1e013df2b..85148250df8f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21,8 +21,12 @@ # null, the default standard environment is used. bootStdenv ? null +, # Darwin is an "impure" platform, with its libc outside of the store. + # Thus, GCC, GFortran, & co. must always look for files in standard system + # directories (/usr/include, etc.) + noSysDirs ? (system != "x86_64-darwin" && system != "i686-darwin") + # More flags for the bootstrapping of stdenv. -, noSysDirs ? true , gccWithCC ? true , gccWithProfiling ? true