rustc: don't install uninstall.sh

This commit is contained in:
Alyssa Ross 2020-12-26 20:33:37 +00:00
parent ea28ef6cc7
commit 181f012824

View file

@ -159,6 +159,9 @@ in stdenv.mkDerivation rec {
# remove references to llvm-config in lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so
# and thus a transitive dependency on ncurses
find $out/lib -name "*.so" -type f -exec remove-references-to -t ${llvmShared} '{}' '+'
# remove uninstall script that doesn't really make sense for Nix.
rm $out/lib/rustlib/uninstall.sh
'';
configurePlatforms = [];