nushell: fix build by using newer cargo fetcher

Resolves  by using the newer fetcher; see  for details.

Would also be fixed by  eventually, but we want to upgrade Rust packages
either way, so might as well start with the broken ones!
This commit is contained in:
Benjamin Hipple 2020-02-15 14:53:55 -05:00 committed by Jon
parent 8b6e471ce8
commit a5df5df2ea

View File

@ -24,10 +24,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0p1aykhkz5rixj6x0rskg77q31xw11mirvjhzp7n4nmbx3rfkagc"; sha256 = "0p1aykhkz5rixj6x0rskg77q31xw11mirvjhzp7n4nmbx3rfkagc";
}; };
# Delete this on next update; see #79975 for details cargoSha256 = "14v25smx23d5d386dyw0gspddj6g9am1qpg4ykc1a8lmr0h4ccrk";
legacyCargoFetcher = true;
cargoSha256 = "0143mm9cdswd1azpzzpbfc5x7dy3ryywvq44mwkd6h1027n5idap";
nativeBuildInputs = [ pkg-config ] nativeBuildInputs = [ pkg-config ]
++ lib.optionals (withStableFeatures && stdenv.isLinux) [ python3 ]; ++ lib.optionals (withStableFeatures && stdenv.isLinux) [ python3 ];