rustc: don't install uninstall.sh
This commit is contained in:
parent
ea28ef6cc7
commit
181f012824
1 changed files with 3 additions and 0 deletions
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in a new issue