mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 13:29:00 +02:00
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)
|
# (/private/tmp/nix-build-clippy-1.36.0.drv-0/rustc-1.36.0-src/src/librustc_llvm)
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
export CARGO_TARGET_DIR="$(pwd)/target"
|
|
||||||
'';
|
|
||||||
|
|
||||||
preFixup = lib.optionalString stdenv.isDarwin ''
|
preFixup = lib.optionalString stdenv.isDarwin ''
|
||||||
install_name_tool -add_rpath "${rustc}/lib" $out/bin/clippy-driver
|
install_name_tool -add_rpath "${rustc}/lib" $out/bin/clippy-driver
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue