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