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