2004-03-29 12:23:01 -05:00
|
|
|
{stdenv, genericStdenv, gccWrapper}:
|
2004-03-08 11:02:46 -05:00
|
|
|
|
2004-03-29 12:23:01 -05:00
|
|
|
genericStdenv {
|
2003-11-03 05:22:00 -05:00
|
|
|
name = "stdenv-native";
|
2004-03-08 11:02:46 -05:00
|
|
|
preHook = ./prehook.sh;
|
2003-11-03 05:22:00 -05:00
|
|
|
initialPath = "/usr/local /usr /";
|
2004-03-08 11:02:46 -05:00
|
|
|
|
|
|
|
inherit stdenv;
|
|
|
|
|
2004-03-29 12:23:01 -05:00
|
|
|
gcc = gccWrapper {
|
2004-03-08 11:02:46 -05:00
|
|
|
name = "gcc-native";
|
2004-03-11 12:26:14 -05:00
|
|
|
nativeTools = true;
|
|
|
|
nativeGlibc = true;
|
2004-03-09 12:16:02 -05:00
|
|
|
nativePrefix = "/usr";
|
|
|
|
inherit stdenv;
|
2004-03-08 11:02:46 -05:00
|
|
|
};
|
2004-03-29 12:23:01 -05:00
|
|
|
|
2004-03-30 07:46:52 -05:00
|
|
|
shell = "/bin/sh";
|
2003-11-03 05:22:00 -05:00
|
|
|
}
|