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;
|
2006-10-24 14:26:23 -04:00
|
|
|
nativeLibc = 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
|
|
|
|
2005-05-10 05:22:14 -04:00
|
|
|
shell = "/bin/bash";
|
2006-05-31 08:18:01 -04:00
|
|
|
|
|
|
|
extraAttrs = {
|
|
|
|
# Curl should be in /usr/bin or so.
|
|
|
|
curl = null;
|
|
|
|
};
|
2003-11-03 05:22:00 -05:00
|
|
|
}
|