2006-06-01 10:41:31 +01: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 14:44:17 +01:00
|
|
|
nativeLibc = true;
|
2006-06-01 10:41:31 +01:00
|
|
|
nativePrefix = "/usr";
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
shell = "/bin/bash";
|
|
|
|
|
|
|
|
extraAttrs = {
|
|
|
|
# Curl should be in /usr/bin or so.
|
|
|
|
curl = null;
|
|
|
|
};
|
|
|
|
}
|