mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
* Reviving stdenvNix.
svn path=/nixpkgs/trunk/; revision=5702
This commit is contained in:
parent
b2f6e204a2
commit
10d67f5c7a
@ -39,8 +39,11 @@ rec {
|
||||
# The Nix build environment.
|
||||
stdenvNix = (import ./nix) {
|
||||
stdenv = stdenvNative;
|
||||
pkgs = stdenvNativePkgs;
|
||||
inherit genericStdenv gccWrapper;
|
||||
pkgs = allPackages {
|
||||
bootStdenv = removeAttrs stdenvNative ["gcc"]; # Hack
|
||||
noSysDirs = false;
|
||||
};
|
||||
inherit genericStdenv;
|
||||
};
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, pkgs, genericStdenv, gccWrapper}:
|
||||
{stdenv, pkgs, genericStdenv}:
|
||||
|
||||
genericStdenv {
|
||||
name = "stdenv-nix";
|
||||
@ -7,12 +7,12 @@ genericStdenv {
|
||||
|
||||
inherit stdenv;
|
||||
|
||||
gcc = gccWrapper {
|
||||
name = pkgs.gcc.name;
|
||||
gcc = import ../../build-support/gcc-wrapper {
|
||||
nativeTools = false;
|
||||
nativeGlibc = true;
|
||||
inherit (pkgs) gcc binutils;
|
||||
inherit stdenv;
|
||||
inherit (pkgs) binutils;
|
||||
gcc = pkgs.gcc.gcc;
|
||||
shell = pkgs.bash ~ /bin/sh;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user