* Reviving stdenvNix.

svn path=/nixpkgs/trunk/; revision=5702
This commit is contained in:
Eelco Dolstra 2006-07-14 09:28:09 +00:00
parent b2f6e204a2
commit 10d67f5c7a
2 changed files with 9 additions and 6 deletions

View File

@ -39,8 +39,11 @@ rec {
# The Nix build environment.
stdenvNix = (import ./nix) {
stdenv = stdenvNative;
pkgs = stdenvNativePkgs;
inherit genericStdenv gccWrapper;
pkgs = allPackages {
bootStdenv = removeAttrs stdenvNative ["gcc"]; # Hack
noSysDirs = false;
};
inherit genericStdenv;
};

View File

@ -1,4 +1,4 @@
{stdenv, pkgs, genericStdenv, gccWrapper}:
{stdenv, pkgs, genericStdenv}:
genericStdenv {
name = "stdenv-nix";
@ -7,12 +7,12 @@ genericStdenv {
inherit stdenv;
gcc = gccWrapper {
name = pkgs.gcc.name;
gcc = import ../../build-support/gcc-wrapper {
nativeTools = false;
nativeGlibc = true;
inherit (pkgs) gcc binutils;
inherit stdenv;
inherit (pkgs) binutils;
gcc = pkgs.gcc.gcc;
shell = pkgs.bash ~ /bin/sh;
};