Merge pull request #9066 from Bevaz/ccache-isGNU

ccache: set attribute isGNU = true
This commit is contained in:
lethalman 2015-08-06 11:46:02 +02:00
commit 00821f4046

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation {
passthru = {
# A derivation that provides gcc and g++ commands, but that
# will end up calling ccache for the given cacheDir
links = extraConfig : (runCommand "ccache-links" { passthru.gcc = gcc; }
links = extraConfig : (runCommand "ccache-links" { passthru.gcc = gcc; passthru.isGNU = true; }
''
mkdir -p $out/bin
if [ -x "${gcc.cc}/bin/gcc" ]; then