From 451b181586161b548efba53fbd71a4fa141f6c9a Mon Sep 17 00:00:00 2001 From: Alexander Krupenkin Date: Fri, 14 Dec 2018 16:23:33 +0300 Subject: [PATCH] fetchcargo: fixed config installation path --- pkgs/build-support/rust/fetchcargo.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/rust/fetchcargo.nix b/pkgs/build-support/rust/fetchcargo.nix index 13d52e383379..e8465ba61624 100644 --- a/pkgs/build-support/rust/fetchcargo.nix +++ b/pkgs/build-support/rust/fetchcargo.nix @@ -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; '';