Merge pull request #52046 from akru/master

fetchcargo: fixed config installation path
This commit is contained in:
Jörg Thalheim 2018-12-14 13:52:52 +00:00 committed by GitHub
commit c9c156207b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
'';