2004-03-29 09:23:01 -08:00
|
|
|
{stdenv, pkgs, genericStdenv, gccWrapper}:
|
2004-03-11 09:26:14 -08:00
|
|
|
|
2004-03-29 09:23:01 -08:00
|
|
|
genericStdenv {
|
2003-11-03 02:22:00 -08:00
|
|
|
name = "stdenv-nix";
|
2004-03-11 09:26:14 -08:00
|
|
|
preHook = ./prehook.sh;
|
2004-01-30 07:44:56 -08:00
|
|
|
initialPath = (import ./path.nix) {pkgs = pkgs;};
|
2004-03-11 09:26:14 -08:00
|
|
|
|
|
|
|
inherit stdenv;
|
|
|
|
|
2004-03-29 09:23:01 -08:00
|
|
|
gcc = gccWrapper {
|
2004-03-11 09:26:14 -08:00
|
|
|
name = pkgs.gcc.name;
|
|
|
|
nativeTools = false;
|
|
|
|
nativeGlibc = true;
|
|
|
|
inherit (pkgs) gcc binutils;
|
|
|
|
inherit stdenv;
|
2004-03-30 04:46:52 -08:00
|
|
|
shell = pkgs.bash ~ /bin/sh;
|
2004-03-11 09:26:14 -08:00
|
|
|
};
|
|
|
|
|
2004-03-30 04:46:52 -08:00
|
|
|
shell = pkgs.bash ~ /bin/sh;
|
2006-05-31 08:08:25 -07:00
|
|
|
|
|
|
|
extraAttrs = {
|
|
|
|
# Curl should be in /usr/bin or so.
|
|
|
|
curl = null;
|
|
|
|
};
|
2003-11-03 02:22:00 -08:00
|
|
|
}
|