glm: only override to gcc6 if using gcc by default

Otherwise we have a regression on Darwin.
This commit is contained in:
Vladimír Čunát 2018-02-18 10:13:05 +01:00
parent a84844de03
commit e202018d1f
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -8783,9 +8783,9 @@ with pkgs;
glibc32 = pkgsi686Linux.glibc;
};
glm = callPackage ../development/libraries/glm {
stdenv = overrideCC stdenv gcc6; # maybe a hack
};
glm = callPackage ../development/libraries/glm
(lib.optionalAttrs stdenv.cc.isGNU { stdenv = overrideCC stdenv gcc6;/*maybe a hack*/ });
glm_0954 = callPackage ../development/libraries/glm/0954.nix { };
globalplatform = callPackage ../development/libraries/globalplatform { };