01a1658c6b
On the downside, the build process of stdenvLinux builds gcc 9 times (3 x 3 bootstrap stages). That's a bit excessive. svn path=/nixpkgs/trunk/; revision=880
19 lines
333 B
Nix
19 lines
333 B
Nix
{stdenv, genericStdenv, gccWrapper}:
|
|
|
|
genericStdenv {
|
|
name = "stdenv-native";
|
|
preHook = ./prehook.sh;
|
|
initialPath = "/usr/local /usr /";
|
|
|
|
inherit stdenv;
|
|
|
|
gcc = gccWrapper {
|
|
name = "gcc-native";
|
|
nativeTools = true;
|
|
nativeGlibc = true;
|
|
nativePrefix = "/usr";
|
|
inherit stdenv;
|
|
};
|
|
|
|
shell = "/bin/sh";
|
|
}
|