10d67f5c7a
svn path=/nixpkgs/trunk/; revision=5702
25 lines
500 B
Nix
25 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;
|
|
};
|
|
}
|