add is{GNU,Clang} attrs to cc-wrapper.

These will be more pleasant to use than the existing

    (cc.cc.isClang or false)

nonsense we currently do.
This commit is contained in:
Eric Seidel
2015-05-11 14:39:36 -07:00
parent ea0c877858
commit 395829686d
5 changed files with 17 additions and 7 deletions
+1
View File
@@ -20,6 +20,7 @@ import ../generic rec {
inherit stdenv;
binutils = pkgs.binutils;
cc = pkgs.gcc.cc;
isGNU = true;
coreutils = pkgs.coreutils;
shell = pkgs.bash + "/bin/sh";
};