2006-06-01 11:41:31 +02:00
|
|
|
{stdenv, genericStdenv, gccWrapper}:
|
|
|
|
|
|
|
|
genericStdenv {
|
|
|
|
name = "stdenv-native";
|
|
|
|
preHook = ./prehook.sh;
|
|
|
|
initialPath = "/usr/local /usr /";
|
|
|
|
|
|
|
|
inherit stdenv;
|
|
|
|
|
|
|
|
gcc = gccWrapper {
|
|
|
|
name = "gcc-native";
|
|
|
|
nativeTools = true;
|
2006-10-27 15:44:17 +02:00
|
|
|
nativeLibc = true;
|
2006-06-01 11:41:31 +02:00
|
|
|
nativePrefix = "/usr";
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
shell = "/bin/bash";
|
|
|
|
|
|
|
|
extraAttrs = {
|
|
|
|
# Curl should be in /usr/bin or so.
|
|
|
|
curl = null;
|
|
|
|
};
|
|
|
|
}
|