From 12858367563aa42a2198ef610d8f4d7e3d1ac87b Mon Sep 17 00:00:00 2001 From: Benjamin Hipple Date: Sat, 14 Mar 2020 17:48:04 -0400 Subject: [PATCH] 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. --- pkgs/tools/backup/rdedup/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/backup/rdedup/default.nix b/pkgs/tools/backup/rdedup/default.nix index b3cf971970a5..1ed5bfd9ef87 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 ];