Set noSysDirs' to
false' on non-GNU/Linux platforms.
This commit is contained in:
parent
abf6366f87
commit
04f242e281
1 changed files with 6 additions and 4 deletions
|
@ -21,10 +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")
|
||||
, # Non-GNU/Linux OSes are currently "impure" platforms, with their 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"
|
||||
&& system != "x86_64-freebsd" && system != "i686-freebsd"
|
||||
&& system != "x86_64-kfreebsd-gnu")
|
||||
|
||||
# More flags for the bootstrapping of stdenv.
|
||||
, gccWithCC ? true
|
||||
|
|
Loading…
Reference in a new issue