Bootstrap clang with itself

svn path=/nixpkgs/trunk/; revision=29901
This commit is contained in:
Shea Levy
2011-10-19 17:11:26 +00:00
parent bfc36e2f8a
commit 94dbab27a3
3 changed files with 16 additions and 7 deletions

View File

@@ -11,6 +11,7 @@ rec {
# Override the compiler in stdenv for specific packages.
overrideGCC = stdenv: gcc: stdenv //
{ mkDerivation = args: stdenv.mkDerivation (args // { NIX_GCC = gcc; });
inherit gcc;
};