diff --git a/pkgs/development/tools/misc/ccache/default.nix b/pkgs/development/tools/misc/ccache/default.nix index fb6d03c6e85a..ed87428f98df 100644 --- a/pkgs/development/tools/misc/ccache/default.nix +++ b/pkgs/development/tools/misc/ccache/default.nix @@ -49,6 +49,9 @@ stdenv.mkDerivation { ln -s ${gcc.cc}/bin/$executable $out/bin/$executable fi done + for file in $(ls ${gcc.cc} | grep -vw bin); do + ln -s ${gcc.cc}/$file $out/$file + done ''); };