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.
This commit is contained in:
Benjamin Hipple 2020-03-14 17:48:04 -04:00 committed by Jon
parent ca84a48d7d
commit 1285836756

View File

@ -13,9 +13,9 @@ rustPlatform.buildRustPackage rec {
sha256 = "0y34a3mpghdmcb2rx4z62q0s351bfmy1287d75mm07ryfgglgsd7";
};
cargoSha256 = "1zvg68ilgpnd95b36jvna9h1jr5d72x1a0g6flw2x6sd0msc0mdw";
cargoSha256 = "0akwb7ak4h1i1zk4wcn27zyqjz6mrchs47014xbzw22rj8h8dx92";
patches = [
cargoPatches = [
./v3.1.1-fix-Cargo.lock.patch
];