nixpkgs/pkgs/stdenv/nix/default.nix
Eelco Dolstra b2f6e204a2 * Remove redundant files, move path.nix around a bit.
svn path=/nixpkgs/trunk/; revision=5701
2006-07-14 08:35:59 +00:00

26 lines
490 B
Nix

{stdenv, pkgs, genericStdenv, gccWrapper}:
genericStdenv {
name = "stdenv-nix";
preHook = ./prehook.sh;
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
inherit stdenv;
gcc = gccWrapper {
name = pkgs.gcc.name;
nativeTools = false;
nativeGlibc = true;
inherit (pkgs) gcc binutils;
inherit stdenv;
shell = pkgs.bash ~ /bin/sh;
};
shell = pkgs.bash ~ /bin/sh;
extraAttrs = {
# Curl should be in /usr/bin or so.
curl = null;
};
}