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