2004-03-29 18:23:01 +01:00
|
|
|
{stdenv, genericStdenv, gccWrapper}:
|
2004-03-08 16:02:46 +00:00
|
|
|
|
2004-03-29 18:23:01 +01: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 18:23:01 +01:00
|
|
|
gcc = gccWrapper {
|
2004-03-08 16:02:46 +00:00
|
|
|
name = "gcc-native";
|
2004-03-11 17:26:14 +00:00
|
|
|
nativeTools = true;
|
2006-10-24 19:26:23 +01:00
|
|
|
nativeLibc = true;
|
2004-03-09 17:16:02 +00:00
|
|
|
nativePrefix = "/usr";
|
|
|
|
inherit stdenv;
|
2004-03-08 16:02:46 +00:00
|
|
|
};
|
2004-03-29 18:23:01 +01:00
|
|
|
|
2005-05-10 10:22:14 +01:00
|
|
|
shell = "/bin/bash";
|
2006-05-31 13:18:01 +01:00
|
|
|
|
|
|
|
extraAttrs = {
|
|
|
|
# Curl should be in /usr/bin or so.
|
|
|
|
curl = null;
|
|
|
|
};
|
2003-11-03 10:22:00 +00:00
|
|
|
}
|