diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2004-03-08 18:29:08 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2004-03-08 18:29:08 +0000 |
commit | 946a2d4a4824d415e3c2c306dd7b4c1360946662 (patch) | |
tree | d6d51221bcfb90e9341c93fa04efd02bf387bd5a /pkgs/system/stdenvs.nix | |
parent | ce50734cf067496ae50d1a6fd139fc03de283cbc (diff) | |
download | nixpkgs-946a2d4a4824d415e3c2c306dd7b4c1360946662.tar nixpkgs-946a2d4a4824d415e3c2c306dd7b4c1360946662.tar.gz nixpkgs-946a2d4a4824d415e3c2c306dd7b4c1360946662.tar.bz2 nixpkgs-946a2d4a4824d415e3c2c306dd7b4c1360946662.tar.lz nixpkgs-946a2d4a4824d415e3c2c306dd7b4c1360946662.tar.xz nixpkgs-946a2d4a4824d415e3c2c306dd7b4c1360946662.tar.zst nixpkgs-946a2d4a4824d415e3c2c306dd7b4c1360946662.zip |
* gcc-wrapper now filters out -L and -I flags referring to paths
outside the store (in pure builds). svn path=/nixpkgs/trunk/; revision=817
Diffstat (limited to 'pkgs/system/stdenvs.nix')
-rw-r--r-- | pkgs/system/stdenvs.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/system/stdenvs.nix b/pkgs/system/stdenvs.nix index 34804ad55d8..06a9fc50fed 100644 --- a/pkgs/system/stdenvs.nix +++ b/pkgs/system/stdenvs.nix @@ -8,12 +8,19 @@ {system, allPackages}: rec { + # Trivial environment used for building other environments. + stdenvInitial = (import ../stdenv/initial) { + name = "stdenv-initial"; + inherit system; + }; + + # The native (i.e., impure) build environment. This one uses the # tools installed on the system outside of the Nix environment, # i.e., the stuff in /bin, /usr/bin, etc. This environment should # be used with care, since many Nix packages will not build properly # with it (e.g., because they require GNU Make). - stdenvNative = (import ../stdenv/native) {system = system;}; + stdenvNative = (import ../stdenv/native) {stdenv = stdenvInitial;}; stdenvNativePkgs = allPackages {system = system; stdenv = stdenvNative;}; |