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:
parent
74bc2aab42
commit
4c1d81c91e
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user