3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv/native/default.nix
Eelco Dolstra 4a00c41986 * Fix stdenv-native.
svn path=/nixpkgs/trunk/; revision=5354
2006-05-31 12:18:01 +00:00

25 lines
415 B
Nix

{stdenv, genericStdenv, gccWrapper}:
genericStdenv {
name = "stdenv-native";
preHook = ./prehook.sh;
initialPath = "/usr/local /usr /";
inherit stdenv;
gcc = gccWrapper {
name = "gcc-native";
nativeTools = true;
nativeGlibc = true;
nativePrefix = "/usr";
inherit stdenv;
};
shell = "/bin/bash";
extraAttrs = {
# Curl should be in /usr/bin or so.
curl = null;
};
}