3
0
Fork 0
forked from mirrors/nixpkgs

fetchcargo: fixed config installation path

This commit is contained in:
Alexander Krupenkin 2018-12-14 16:23:33 +03:00
parent 38d4c09096
commit 451b181586
No known key found for this signature in database
GPG key ID: 0D0A7FA67911873E

View file

@ -50,7 +50,7 @@ stdenv.mkDerivation {
# But not to break old cargoSha256, if the previous behavior was enough,
# we don't store the config.
if ! cmp $CARGO_CONFIG ${./fetchcargo-default-config.toml} > /dev/null; then
install -Dt $out/.cargo $CARGO_CONFIG;
install -D $CARGO_CONFIG $out/.cargo/config;
fi;
'';