forked from mirrors/nixpkgs
ccache-links is wrapped, so it needs a gcc attribute
This commit is contained in:
parent
85704cd9d3
commit
f80e342e83
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue