git.iko.soy/typeable/nixpkgs
on master help sign in
ccache-links is wrapped, so it needs a gcc attribute
commitf80e342e8335912040000a47e19e0151f96e32fe authorShea Levy <shea@shealevy.com> dateTue 24 Mar 2015, 08:59 (12 years ago) parent85704cd
1 file changed+1−1
pkgs/development/tools/misc/ccache/default.nix+1−1
pkgs/development/tools/misc/ccache/default.nix+1−1
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
1414 passthru = {
1515 # A derivation that provides gcc and g++ commands, but that
1616 # will end up calling ccache for the given cacheDir
17− links = extraConfig : (runCommand "ccache-links" { }
17+ links = extraConfig : (runCommand "ccache-links" { passthru.gcc = gcc; }
1818 ''
1919 mkdir -p $out/bin
2020 if [ -x "${gcc.cc}/bin/gcc" ]; then