2004-03-29 09:23:01 -08:00
|
|
|
{stdenv, genericStdenv, gccWrapper}:
|
2004-03-08 08:02:46 -08:00
|
|
|
|
2004-03-29 09:23:01 -08:00
|
|
|
genericStdenv {
|
2003-11-03 02:22:00 -08:00
|
|
|
name = "stdenv-native";
|
2004-03-08 08:02:46 -08:00
|
|
|
preHook = ./prehook.sh;
|
2003-11-03 02:22:00 -08:00
|
|
|
initialPath = "/usr/local /usr /";
|
2004-03-08 08:02:46 -08:00
|
|
|
|
|
|
|
inherit stdenv;
|
|
|
|
|
2004-03-29 09:23:01 -08:00
|
|
|
gcc = gccWrapper {
|
2004-03-08 08:02:46 -08:00
|
|
|
name = "gcc-native";
|
2004-03-11 09:26:14 -08:00
|
|
|
nativeTools = true;
|
|
|
|
nativeGlibc = true;
|
2004-03-09 09:16:02 -08:00
|
|
|
nativePrefix = "/usr";
|
|
|
|
inherit stdenv;
|
2004-03-08 08:02:46 -08:00
|
|
|
};
|
2004-03-29 09:23:01 -08:00
|
|
|
|
2005-05-10 02:22:14 -07:00
|
|
|
shell = "/bin/bash";
|
2006-05-31 05:18:01 -07:00
|
|
|
|
|
|
|
extraAttrs = {
|
|
|
|
# Curl should be in /usr/bin or so.
|
|
|
|
curl = null;
|
|
|
|
};
|
2003-11-03 02:22:00 -08:00
|
|
|
}
|