nixpkgs/pkgs
Gergely Risko fca5d864b6 pkgs/stdenv/linux: stageFun refactoring
The stage3.extraAttrs.glibc argument was required for this whole build
procedure to correctly work and it was very-very hard to see why (the
comment said something about gcc47, but we're using gcc48 now).

This stage3.extraAttrs.glibc goes into stage3.stdenv.glibc after some
arg passing, and in pkgs/development/compiler/gcc an (stdenv ? glibc)
boolean expression decides to override /usr/include during the GCC
build.

All of our stages are built with glibc, so this refactoring moves this
repeating specification of glibc (once for gcc wrapper and once here for
extraAttrs) to stageFun, by getting rid of wrapGCC, as we were using
that in all of the stages anyways.

Incidentally it turned out, that this stdenv.glibc inconsistency caused
some random other stuff to behave differently:
  - stage1.pkgs.perl has threading disabled,
  - stage4.pkgs.coreutils (the production coreutils) has testing disabled.

Leave this historical accidents as they are in this commit, so the scope
of this commit can stay as a refactoring only, these issues will be
fixed in separate commits.

This commit doesn't change the derivation or the output hash of
stdenvLinux.
2014-09-14 21:35:54 +02:00
..
applications Merge recent master into staging 2014-09-13 21:48:29 +02:00
build-support Merge recent master into staging 2014-09-13 21:48:29 +02:00
data Merge recent master into staging 2014-09-13 21:48:29 +02:00
desktops Merge recent master into staging 2014-09-13 21:48:29 +02:00
development Merge recent master into staging 2014-09-13 21:48:29 +02:00
games Merge recent master into staging 2014-09-13 21:48:29 +02:00
misc Merge recent master into staging 2014-09-13 21:48:29 +02:00
os-specific Merge recent master into staging 2014-09-13 21:48:29 +02:00
servers Merge recent master into staging 2014-09-13 21:48:29 +02:00
shells pythonPackges.ipython: 2.0.0 -> 2.2.0 2014-08-25 11:01:31 +02:00
stdenv pkgs/stdenv/linux: stageFun refactoring 2014-09-14 21:35:54 +02:00
test Merge recent master into staging 2014-09-13 21:48:29 +02:00
tools Fix xz to not depend on bootstrap-tools 2014-09-14 21:00:12 +02:00
top-level Merge recent master into staging 2014-09-13 21:48:29 +02:00