about summary refs log tree commit diff
path: root/pkgs/tools/backup/rdedup
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2020-03-14 17:48:04 -0400
committerJon <jonringer@users.noreply.github.com>2020-03-14 17:34:18 -0700
commit12858367563aa42a2198ef610d8f4d7e3d1ac87b (patch)
tree1efad4115d68cbe0faa2d5416414ab8b1bd15b46 /pkgs/tools/backup/rdedup
parentca84a48d7d1144e55bfb4611779e319f3ecc2b1b (diff)
rdedup: fix broken build
In the Rust platform builder, the attribute `cargoPatches` must be used if we
want to consistently apply a patch to the `Cargo.lock` in the vendored
`cargoDeps` and to the `Cargo.lock` in the `src` attribute.

This fixes the build by applying that patch consistently, so the coherency
checker in the newer Rust cargo builder passes.
Diffstat (limited to 'pkgs/tools/backup/rdedup')
-rw-r--r--pkgs/tools/backup/rdedup/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/backup/rdedup/default.nix b/pkgs/tools/backup/rdedup/default.nix
index b3cf971970a5c..1ed5bfd9ef874 100644
--- a/pkgs/tools/backup/rdedup/default.nix
+++ b/pkgs/tools/backup/rdedup/default.nix
@@ -13,9 +13,9 @@ rustPlatform.buildRustPackage rec {
     sha256 = "0y34a3mpghdmcb2rx4z62q0s351bfmy1287d75mm07ryfgglgsd7";
   };
 
-  cargoSha256 = "1zvg68ilgpnd95b36jvna9h1jr5d72x1a0g6flw2x6sd0msc0mdw";
+  cargoSha256 = "0akwb7ak4h1i1zk4wcn27zyqjz6mrchs47014xbzw22rj8h8dx92";
 
-  patches = [
+  cargoPatches = [
     ./v3.1.1-fix-Cargo.lock.patch
   ];