* Folded the Cygwin, powerpc-darwin and FreeBSD stdenv into the "native"

stdenv.

svn path=/nixpkgs/trunk/; revision=12147
This commit is contained in:
Eelco Dolstra
2008-06-18 15:09:13 +00:00
parent aab9aee56e
commit 7bf0c5ba01
14 changed files with 122 additions and 173 deletions
-25
View File
@@ -1,25 +0,0 @@
{stdenv, genericStdenv, gccWrapper}:
genericStdenv {
name = "stdenv-native";
preHook = ./prehook.sh;
initialPath = "/usr/local /usr /";
inherit stdenv;
gcc = gccWrapper {
name = "gcc-native";
nativeTools = true;
nativeLibc = true;
nativePrefix = "/usr";
inherit stdenv;
};
shell = "/bin/bash";
fetchurlBoot = import ../../build-support/fetchurl {
inherit stdenv;
# Curl should be in /usr/bin or so.
curl = null;
};
}
-7
View File
@@ -1,7 +0,0 @@
export NIX_ENFORCE_PURITY=
alias make=gmake
export MAKE=gmake
shopt -s expand_aliases
# Filter out stupid GCC warnings (in gcc-wrapper).
export NIX_GCC_NEEDS_GREP=1