summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2015-03-24 08:59:34 -0400
committerShea Levy <shea@shealevy.com>2015-03-24 08:59:34 -0400
commitf80e342e8335912040000a47e19e0151f96e32fe (patch)
tree5c685daadb229df70076581f1557446327d87b4e /pkgs
parent85704cd9d3f9633488469f66240a9aec76066d0d (diff)
downloadnixlib-f80e342e8335912040000a47e19e0151f96e32fe.tar
nixlib-f80e342e8335912040000a47e19e0151f96e32fe.tar.gz
nixlib-f80e342e8335912040000a47e19e0151f96e32fe.tar.bz2
nixlib-f80e342e8335912040000a47e19e0151f96e32fe.tar.lz
nixlib-f80e342e8335912040000a47e19e0151f96e32fe.tar.xz
nixlib-f80e342e8335912040000a47e19e0151f96e32fe.tar.zst
nixlib-f80e342e8335912040000a47e19e0151f96e32fe.zip
ccache-links is wrapped, so it needs a gcc attribute
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/misc/ccache/default.nix2
1 files changed, 1 insertions, 1 deletions
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