nix-index: upgrade cargo fetcher and cargoSha256

Infra upgrade as part of #79975; no functional change expected.
This commit is contained in:
Benjamin Hipple 2020-02-15 17:34:00 -05:00 committed by Benno Fünfstück
parent a65e7d9367
commit 74aae635e5

View file

@ -12,10 +12,9 @@ rustPlatform.buildRustPackage rec {
rev = "v${version}";
sha256 = "05fqfwz34n4ijw7ydw2n6bh4bv64rhks85cn720sy5r7bmhfmfa8";
};
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
cargoSha256 = "06idjb5h5fahqklyxnss2zffrvvfbcw0hjh1mcrf1872s4x78ags";
cargoSha256 = "0apdr9z18p6m4lfjv8k9zv2mqc7vssd2d536zfv1pns0pdqsfw50";
nativeBuildInputs = [ pkgconfig makeWrapper ];
buildInputs = [ openssl curl ]
++ stdenv.lib.optional stdenv.isDarwin Security;