From af416aae81c03f61db690b2154d49bb654234a43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 17 Apr 2017 00:25:26 +0200 Subject: [PATCH] cargo: remove unnecessary rm Since cargo build became a rust package, postInstall hook was no longer called. When the hook was reenabled in cdd11368426380db545cad84c76e350e5e201adc, it revealed that scripts leftover from the component based installer are no longer present. --- pkgs/development/compilers/rust/cargo.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/development/compilers/rust/cargo.nix b/pkgs/development/compilers/rust/cargo.nix index f0d7e0dabc2..2d4d6ad4db1 100644 --- a/pkgs/development/compilers/rust/cargo.nix +++ b/pkgs/development/compilers/rust/cargo.nix @@ -24,12 +24,6 @@ rustPlatform.buildRustPackage rec { LIBGIT2_SYS_USE_PKG_CONFIG=1; postInstall = '' - rm "$out/lib/rustlib/components" \ - "$out/lib/rustlib/install.log" \ - "$out/lib/rustlib/rust-installer-version" \ - "$out/lib/rustlib/uninstall.sh" \ - "$out/lib/rustlib/manifest-cargo" - # NOTE: We override the `http.cainfo` option usually specified in # `.cargo/config`. This is an issue when users want to specify # their own certificate chain as environment variables take