Skip to content

Commit

Permalink
cargo: remove unnecessary rm
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mic92 committed Apr 16, 2017
1 parent 9fedd4d commit af416aa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkgs/development/compilers/rust/cargo.nix
Expand Up @@ -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
Expand Down

0 comments on commit af416aa

Please sign in to comment.