3
0
Fork 0
forked from mirrors/nixpkgs

ccache-links is wrapped, so it needs a gcc attribute

This commit is contained in:
Shea Levy 2015-03-24 08:59:34 -04:00
parent 85704cd9d3
commit f80e342e83

View file

@ -14,7 +14,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" { }
links = extraConfig : (runCommand "ccache-links" { passthru.gcc = gcc; }
''
mkdir -p $out/bin
if [ -x "${gcc.cc}/bin/gcc" ]; then