summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-12-14 13:52:52 +0000
committerGitHub <noreply@github.com>2018-12-14 13:52:52 +0000
commitc9c156207b17fbce4919c27359e72ebf04d5a1fb (patch)
treea2e466b2cbed49d9b2f79f0de693a3dfff85ade4 /pkgs
parent2874bacdec89d9c7890f42b549c627baf6b68469 (diff)
parent451b181586161b548efba53fbd71a4fa141f6c9a (diff)
downloadnixpkgs-c9c156207b17fbce4919c27359e72ebf04d5a1fb.tar
nixpkgs-c9c156207b17fbce4919c27359e72ebf04d5a1fb.tar.gz
nixpkgs-c9c156207b17fbce4919c27359e72ebf04d5a1fb.tar.bz2
nixpkgs-c9c156207b17fbce4919c27359e72ebf04d5a1fb.tar.lz
nixpkgs-c9c156207b17fbce4919c27359e72ebf04d5a1fb.tar.xz
nixpkgs-c9c156207b17fbce4919c27359e72ebf04d5a1fb.tar.zst
nixpkgs-c9c156207b17fbce4919c27359e72ebf04d5a1fb.zip
Merge pull request #52046 from akru/master
fetchcargo: fixed config installation path
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/build-support/rust/fetchcargo.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/rust/fetchcargo.nix b/pkgs/build-support/rust/fetchcargo.nix
index 13d52e38337..e8465ba6162 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;
   '';