Skip to content

Commit

Permalink
nushell: fix build by using newer cargo fetcher
Browse files Browse the repository at this point in the history
Resolves NixOS#80117 by using the newer fetcher; see NixOS#79975 for details.

Would also be fixed by NixOS#80153 eventually, but we want to upgrade Rust packages
either way, so might as well start with the broken ones!
  • Loading branch information
bhipple committed Feb 15, 2020
1 parent d5d0cc5 commit cabb10d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkgs/shells/nushell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0p1aykhkz5rixj6x0rskg77q31xw11mirvjhzp7n4nmbx3rfkagc";
};

# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;

cargoSha256 = "0143mm9cdswd1azpzzpbfc5x7dy3ryywvq44mwkd6h1027n5idap";
cargoSha256 = "14v25smx23d5d386dyw0gspddj6g9am1qpg4ykc1a8lmr0h4ccrk";

nativeBuildInputs = [ pkg-config ]
++ lib.optionals (withStableFeatures && stdenv.isLinux) [ python3 ];
Expand Down

0 comments on commit cabb10d

Please sign in to comment.