1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

ccache: create symlinks to gcc utils in ccache-links bin directory

This commit is contained in:
Anton Fedotov 2015-07-29 12:03:39 +03:00 committed by Федотов Антон
parent 5945655fd6
commit 16aadf2d79

View file

@ -42,6 +42,11 @@ stdenv.mkDerivation {
EOF
chmod +x $out/bin/g++
fi
for executable in $(ls ${gcc.cc}/bin); do
if [ ! -x "$out/bin/$executable" ]; then
ln -s ${gcc.cc}/bin/$executable $out/bin/$executable
fi
done
'');
};