diff options
author | Alexander Krupenkin <mail@akru.me> | 2018-12-14 16:23:33 +0300 |
---|---|---|
committer | Alexander Krupenkin <mail@akru.me> | 2018-12-14 16:23:33 +0300 |
commit | 451b181586161b548efba53fbd71a4fa141f6c9a (patch) | |
tree | 04489da50a07b718f272a57757dab5a922247792 /pkgs/build-support/rust | |
parent | 38d4c09096cae258f6e5a0ccc6f2d1a416429582 (diff) | |
download | nixpkgs-451b181586161b548efba53fbd71a4fa141f6c9a.tar nixpkgs-451b181586161b548efba53fbd71a4fa141f6c9a.tar.gz nixpkgs-451b181586161b548efba53fbd71a4fa141f6c9a.tar.bz2 nixpkgs-451b181586161b548efba53fbd71a4fa141f6c9a.tar.lz nixpkgs-451b181586161b548efba53fbd71a4fa141f6c9a.tar.xz nixpkgs-451b181586161b548efba53fbd71a4fa141f6c9a.tar.zst nixpkgs-451b181586161b548efba53fbd71a4fa141f6c9a.zip |
fetchcargo: fixed config installation path
Diffstat (limited to 'pkgs/build-support/rust')
-rw-r--r-- | pkgs/build-support/rust/fetchcargo.nix | 2 |
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; ''; |