Revert "clippy: fix build (#152211)"

This reverts commit aaff0d644f.

Reason: proper fix is now in master, see https://github.com/NixOS/nixpkgs/pull/152197
This commit is contained in:
Jörg Thalheim 2022-01-29 16:45:31 +01:00 committed by zowoq
parent 74bc2aab42
commit 4c1d81c91e

View File

@ -20,10 +20,6 @@ rustPlatform.buildRustPackage {
# (/private/tmp/nix-build-clippy-1.36.0.drv-0/rustc-1.36.0-src/src/librustc_llvm)
doCheck = false;
preBuild = ''
export CARGO_TARGET_DIR="$(pwd)/target"
'';
preFixup = lib.optionalString stdenv.isDarwin ''
install_name_tool -add_rpath "${rustc}/lib" $out/bin/clippy-driver
'';