remove all references to stdenv.cc.cc.is{GNU,Clang}

use the new `stdenv.cc.is{GNU,Clang}` instead, which will always be
defined.
This commit is contained in:
Eric Seidel
2015-05-11 14:37:53 -07:00
parent 395829686d
commit 662a6b1ca6
25 changed files with 25 additions and 25 deletions

View File

@@ -12,7 +12,7 @@ stdenv.mkDerivation {
sha256 = "1b0f4wm1qmgcswmixv9mwbp86hbdqxk754hml8cjv5vajvqwdpzv";
};
sourceRoot = if (stdenv.cc.cc.isClang or false)
sourceRoot = if stdenv.cc.isClang
then "astyle/build/clang"
else "astyle/build/gcc";