nixpkgs/pkgs/stdenv/nix/default.nix
Eelco Dolstra c067e6afa2 * Fix stdenv-nix.
svn path=/nixpkgs/trunk/; revision=5358
2006-05-31 15:08:25 +00:00

26 lines
482 B
Nix

{stdenv, pkgs, genericStdenv, gccWrapper}:
genericStdenv {
name = "stdenv-nix";
preHook = ./prehook.sh;
initialPath = (import ./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;
};
}