From f80e342e8335912040000a47e19e0151f96e32fe Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Tue, 24 Mar 2015 08:59:34 -0400 Subject: [PATCH] ccache-links is wrapped, so it needs a gcc attribute --- pkgs/development/tools/misc/ccache/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/ccache/default.nix b/pkgs/development/tools/misc/ccache/default.nix index 305ccdb8dd06..7c0cfa51cd79 100644 --- a/pkgs/development/tools/misc/ccache/default.nix +++ b/pkgs/development/tools/misc/ccache/default.nix @@ -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