mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
01a1658c6b
On the downside, the build process of stdenvLinux builds gcc 9 times (3 x 3 bootstrap stages). That's a bit excessive. svn path=/nixpkgs/trunk/; revision=880
21 lines
402 B
Nix
21 lines
402 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;
|
|
}
|