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:
parent
9fedd4d495
commit
af416aae81
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue