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.
commit12858367563aa42a2198ef610d8f4d7e3d1ac87b
authorBenjamin Hipple <bhipple@protonmail.com>
dateSat 14 Mar 2020, 17:48 (7 years ago)
parentca84a48
pkgs/tools/backup/rdedup/default.nix+2−2
@@ -13,9 +13,9 @@ rustPlatform.buildRustPackage rec {
1313 sha256 = "0y34a3mpghdmcb2rx4z62q0s351bfmy1287d75mm07ryfgglgsd7";
1414 };
1515
16− cargoSha256 = "1zvg68ilgpnd95b36jvna9h1jr5d72x1a0g6flw2x6sd0msc0mdw";
16+ cargoSha256 = "0akwb7ak4h1i1zk4wcn27zyqjz6mrchs47014xbzw22rj8h8dx92";
1717
18− patches = [
18+ cargoPatches = [
1919 ./v3.1.1-fix-Cargo.lock.patch
2020 ];
2121