2004-03-29 17:23:01 +00:00
|
|
|
{stdenv, pkgs, genericStdenv, gccWrapper}:
|
2004-03-11 17:26:14 +00:00
|
|
|
|
2004-03-29 17:23:01 +00:00
|
|
|
genericStdenv {
|
2003-11-03 10:22:00 +00:00
|
|
|
name = "stdenv-nix";
|
2004-03-11 17:26:14 +00:00
|
|
|
preHook = ./prehook.sh;
|
2006-07-14 08:35:59 +00:00
|
|
|
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
|
2004-03-11 17:26:14 +00:00
|
|
|
|
|
|
|
inherit stdenv;
|
|
|
|
|
2004-03-29 17:23:01 +00: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 12:46:52 +00:00
|
|
|
shell = pkgs.bash ~ /bin/sh;
|
2004-03-11 17:26:14 +00:00
|
|
|
};
|
|
|
|
|
2004-03-30 12:46:52 +00:00
|
|
|
shell = pkgs.bash ~ /bin/sh;
|
2006-05-31 15:08:25 +00:00
|
|
|
|
|
|
|
extraAttrs = {
|
|
|
|
# Curl should be in /usr/bin or so.
|
|
|
|
curl = null;
|
|
|
|
};
|
2003-11-03 10:22:00 +00:00
|
|
|
}
|