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