ccache-links is wrapped, so it needs a gcc attribute
This commit is contained in:
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
|||||||
passthru = {
|
passthru = {
|
||||||
# A derivation that provides gcc and g++ commands, but that
|
# A derivation that provides gcc and g++ commands, but that
|
||||||
# will end up calling ccache for the given cacheDir
|
# 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
|
mkdir -p $out/bin
|
||||||
if [ -x "${gcc.cc}/bin/gcc" ]; then
|
if [ -x "${gcc.cc}/bin/gcc" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user