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