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
336 B
Nix
18 lines
336 B
Nix
let {
|
|
system = "i686-linux";
|
|
|
|
stdenvs = (import ../../system/stdenvs.nix) {
|
|
system = "i686-linux";
|
|
allPackages = import ../../system/all-packages-generic.nix;
|
|
};
|
|
|
|
stdenv = stdenvs.stdenvLinux;
|
|
|
|
test = derivation {
|
|
name = "simple-test";
|
|
inherit system stdenv;
|
|
builder = ./builder.sh;
|
|
};
|
|
|
|
body = test;
|
|
}
|