0fd59fd7a4
checked whether absolute paths passed to gcc/ld refer to the store, which is wrong: they can also refer to the build tree (/tmp/nix-...). * Less static composition in the construction of stdenv-nix-linux: gcc-wrapper and generic are now passed in as arguments, rather then referenced by relative path. This makes it easier to hack on a specific stage of the bootstrap process (before, a change to, e.g., generic/setup.sh would cause all bootstrap stages to be redone). svn path=/nixpkgs/trunk/; revision=833
18 lines
347 B
Nix
18 lines
347 B
Nix
{stdenv, glibc}:
|
|
|
|
(import ../generic) {
|
|
name = "stdenv-nix-linux-boot";
|
|
preHook = ./prehook-boot.sh;
|
|
initialPath = "/usr/local /usr /";
|
|
|
|
inherit stdenv;
|
|
|
|
gcc = (import ../../build-support/gcc-wrapper) {
|
|
name = "gcc-native";
|
|
nativeTools = true;
|
|
nativeGlibc = false;
|
|
nativePrefix = "/usr";
|
|
inherit stdenv glibc;
|
|
};
|
|
}
|