2006-07-14 11:28:09 +02:00
|
|
|
{stdenv, pkgs, genericStdenv}:
|
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;
|
2006-07-14 10:35:59 +02:00
|
|
|
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
|
2004-03-11 18:26:14 +01:00
|
|
|
|
|
|
|
inherit stdenv;
|
|
|
|
|
2006-07-14 11:28:09 +02:00
|
|
|
gcc = import ../../build-support/gcc-wrapper {
|
2004-03-11 18:26:14 +01:00
|
|
|
nativeTools = false;
|
|
|
|
nativeGlibc = true;
|
|
|
|
inherit stdenv;
|
2006-07-14 11:28:09 +02:00
|
|
|
inherit (pkgs) binutils;
|
|
|
|
gcc = pkgs.gcc.gcc;
|
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;
|
2006-05-31 17:08:25 +02:00
|
|
|
|
|
|
|
extraAttrs = {
|
|
|
|
# Curl should be in /usr/bin or so.
|
|
|
|
curl = null;
|
|
|
|
};
|
2003-11-03 11:22:00 +01:00
|
|
|
}
|