2004-03-29 18:23:01 +01:00
|
|
|
{stdenv, pkgs, genericStdenv, gccWrapper}:
|
2004-03-11 17:26:14 +00:00
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
genericStdenv {
|
2003-11-03 10:22:00 +00:00
|
|
|
name = "stdenv-nix";
|
2004-03-11 17:26:14 +00:00
|
|
|
preHook = ./prehook.sh;
|
2004-01-30 15:44:56 +00:00
|
|
|
initialPath = (import ./path.nix) {pkgs = pkgs;};
|
2004-03-11 17:26:14 +00:00
|
|
|
|
|
|
|
inherit stdenv;
|
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
gcc = gccWrapper {
|
2004-03-11 17:26:14 +00:00
|
|
|
name = pkgs.gcc.name;
|
|
|
|
nativeTools = false;
|
|
|
|
nativeGlibc = true;
|
|
|
|
inherit (pkgs) gcc binutils;
|
|
|
|
inherit stdenv;
|
2004-03-30 13:46:52 +01:00
|
|
|
shell = pkgs.bash ~ /bin/sh;
|
2004-03-11 17:26:14 +00:00
|
|
|
};
|
|
|
|
|
2004-03-30 13:46:52 +01:00
|
|
|
shell = pkgs.bash ~ /bin/sh;
|
2003-11-03 10:22:00 +00:00
|
|
|
}
|