nixpkgs/pkgs/stdenv/nix/default.nix
Eelco Dolstra 10d67f5c7a * Reviving stdenvNix.
svn path=/nixpkgs/trunk/; revision=5702
2006-07-14 09:28:09 +00:00

26 lines
500 B
Nix

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