diff options
author | Eric Seidel <gridaphobe@gmail.com> | 2015-05-11 14:30:13 -0700 |
---|---|---|
committer | Eric Seidel <gridaphobe@gmail.com> | 2015-05-11 14:39:36 -0700 |
commit | 395829686d0219b3e14fe6ffae60a24b4e50370b (patch) | |
tree | d8ec773c31ba34feab780dd688b32cf9de0ce0f9 /pkgs/stdenv/linux/default.nix | |
parent | ea0c877858e071d2258680cb4779786ff1f0dea0 (diff) | |
download | nixpkgs-395829686d0219b3e14fe6ffae60a24b4e50370b.tar nixpkgs-395829686d0219b3e14fe6ffae60a24b4e50370b.tar.gz nixpkgs-395829686d0219b3e14fe6ffae60a24b4e50370b.tar.bz2 nixpkgs-395829686d0219b3e14fe6ffae60a24b4e50370b.tar.lz nixpkgs-395829686d0219b3e14fe6ffae60a24b4e50370b.tar.xz nixpkgs-395829686d0219b3e14fe6ffae60a24b4e50370b.tar.zst nixpkgs-395829686d0219b3e14fe6ffae60a24b4e50370b.zip |
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.
Diffstat (limited to 'pkgs/stdenv/linux/default.nix')
-rw-r--r-- | pkgs/stdenv/linux/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index d432206a9e1..722d40bf7fb 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -91,6 +91,7 @@ rec { nativeTools = false; nativeLibc = false; cc = gccPlain; + isGNU = true; libc = glibc; inherit binutils coreutils; name = name; @@ -234,6 +235,7 @@ rec { gcc = lib.makeOverridable (import ../../build-support/cc-wrapper) { nativeTools = false; nativeLibc = false; + isGNU = true; cc = stage4.stdenv.cc.cc; libc = stage4.pkgs.glibc; inherit (stage4.pkgs) binutils coreutils; |