* nix-env -i gcc-wrapper matched two derivations, lower the priority

of the second one.

svn path=/nixpkgs/trunk/; revision=15972
This commit is contained in:
Eelco Dolstra 2009-06-16 13:06:02 +00:00
parent 49d141ed01
commit f26130770b

@ -1638,10 +1638,10 @@ let
gcc43 = useFromStdenv "gcc" gcc43_real;
gcc43_real = wrapGCC (makeOverridable (import ../development/compilers/gcc-4.3) {
gcc43_real = lowPrio (wrapGCC (makeOverridable (import ../development/compilers/gcc-4.3) {
inherit fetchurl stdenv texinfo gmp mpfr noSysDirs;
profiledCompiler = true;
});
}));
gcc43_multi = lowPrio (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi (gcc43_real.gcc.override {
stdenv = overrideGCC stdenv (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi gcc);