2006-07-14 12:59:38 +01:00
|
|
|
{stdenv, pkgs}:
|
2004-03-11 17:26:14 +00:00
|
|
|
|
2006-07-14 12:59:38 +01:00
|
|
|
import ../generic {
|
2003-11-03 10:22:00 +00:00
|
|
|
name = "stdenv-nix";
|
2004-03-11 17:26:14 +00:00
|
|
|
preHook = ./prehook.sh;
|
2006-07-14 09:35:59 +01:00
|
|
|
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
|
2004-03-11 17:26:14 +00:00
|
|
|
|
|
|
|
inherit stdenv;
|
|
|
|
|
2006-07-14 10:28:09 +01:00
|
|
|
gcc = import ../../build-support/gcc-wrapper {
|
2004-03-11 17:26:14 +00:00
|
|
|
nativeTools = false;
|
2006-10-24 19:26:23 +01:00
|
|
|
nativeLibc = true;
|
2004-03-11 17:26:14 +00:00
|
|
|
inherit stdenv;
|
2006-07-14 12:59:38 +01:00
|
|
|
binutils =
|
2006-07-14 23:34:24 +01:00
|
|
|
if stdenv.isDarwin then
|
2006-07-14 14:34:39 +01:00
|
|
|
import ../../build-support/native-darwin-cctools-wrapper {inherit stdenv;}
|
2006-07-14 12:59:38 +01:00
|
|
|
else
|
|
|
|
pkgs.binutils;
|
2006-07-14 23:34:24 +01:00
|
|
|
gcc = if stdenv.isDarwin then pkgs.gccApple.gcc else pkgs.gcc.gcc;
|
2006-10-17 15:06:18 +01:00
|
|
|
shell = pkgs.bash + "/bin/sh";
|
2004-03-11 17:26:14 +00:00
|
|
|
};
|
|
|
|
|
2006-10-17 15:06:18 +01:00
|
|
|
shell = pkgs.bash + "/bin/sh";
|
2006-05-31 16:08:25 +01:00
|
|
|
|
2008-06-18 16:09:13 +01:00
|
|
|
fetchurlBoot = stdenv.fetchurlBoot;
|
|
|
|
forceFetchurlBoot = false;
|
2003-11-03 10:22:00 +00:00
|
|
|
}
|