Merge pull request #82110 from bhipple/u/rust-cargo-wasm-bindgen-cli

wasm-bindgen-cli: upgrade cargo fetcher and cargoSha256
This commit is contained in:
Maximilian Bosch
2020-03-09 08:40:15 +01:00
committed by GitHub

View File

@@ -14,10 +14,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ];
nativeBuildInputs = [ pkgconfig ];
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
cargoSha256 = "1cp8ns0cywzqchdw5hkg4fhxhqb6apxwjjasf1ksf3dgjwynlhzm";
cargoSha256 = "1ylk9vrpajslx1zy4vqmlyqa5ygcmvir1gcn8hsr6liigf5kcz7p";
cargoPatches = [ ./0001-Add-cargo.lock.patch ];
cargoBuildFlags = [ "-p" pname ];