3
0
Fork 0
forked from mirrors/nixpkgs

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.
This commit is contained in:
Jörg Thalheim 2017-04-17 00:25:26 +02:00
parent 9fedd4d495
commit af416aae81
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -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