From 4c1d81c91e7265bd8d20c5e4cd26bad41cb9cbdc Mon Sep 17 00:00:00 2001 From: Jörg Thalheim Date: Sat, 29 Jan 2022 16:45:31 +0100 Subject: Revert "clippy: fix build (#152211)" This reverts commit aaff0d644f3e883dc738519c3d558dc6c6af18a1. Reason: proper fix is now in master, see https://github.com/NixOS/nixpkgs/pull/152197 --- pkgs/development/compilers/rust/clippy.nix | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pkgs/development/compilers/rust/clippy.nix') diff --git a/pkgs/development/compilers/rust/clippy.nix b/pkgs/development/compilers/rust/clippy.nix index 7ebdaa474ad6e..a3597e9febf77 100644 --- a/pkgs/development/compilers/rust/clippy.nix +++ b/pkgs/development/compilers/rust/clippy.nix @@ -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 ''; -- cgit 1.4.1