diff --git a/pkgs/development/tools/misc/ccache/default.nix b/pkgs/development/tools/misc/ccache/default.nix index f41969ebb43..fad2d87cc17 100644 --- a/pkgs/development/tools/misc/ccache/default.nix +++ b/pkgs/development/tools/misc/ccache/default.nix @@ -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