diff options
author | Benjamin Hipple <bhipple@protonmail.com> | 2020-02-13 21:00:26 -0500 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-02-13 22:41:37 -0800 |
commit | eb11feaa0b7971687d8004896df4f9618cf1dafe (patch) | |
tree | c6d1d220560348e964f533afbf3074776d092c51 /pkgs/tools/nix | |
parent | e57fdf508a3b3c5492c266c5fff1b93ac2ea8557 (diff) | |
download | nixpkgs-eb11feaa0b7971687d8004896df4f9618cf1dafe.tar nixpkgs-eb11feaa0b7971687d8004896df4f9618cf1dafe.tar.gz nixpkgs-eb11feaa0b7971687d8004896df4f9618cf1dafe.tar.bz2 nixpkgs-eb11feaa0b7971687d8004896df4f9618cf1dafe.tar.lz nixpkgs-eb11feaa0b7971687d8004896df4f9618cf1dafe.tar.xz nixpkgs-eb11feaa0b7971687d8004896df4f9618cf1dafe.tar.zst nixpkgs-eb11feaa0b7971687d8004896df4f9618cf1dafe.zip |
treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
Diffstat (limited to 'pkgs/tools/nix')
-rw-r--r-- | pkgs/tools/nix/nixdoc/default.nix | 3 | ||||
-rw-r--r-- | pkgs/tools/nix/nixpkgs-fmt/default.nix | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/nix/nixdoc/default.nix b/pkgs/tools/nix/nixdoc/default.nix index 13b7ffd2af7..4f64750892a 100644 --- a/pkgs/tools/nix/nixdoc/default.nix +++ b/pkgs/tools/nix/nixdoc/default.nix @@ -13,6 +13,9 @@ rustPlatform.buildRustPackage rec { buildInputs = stdenv.lib.optional stdenv.isDarwin [ darwin.Security ]; + # Delete this on next update; see #79975 for details + legacyCargoFetcher = true; + cargoSha256 = "1hy8w73fir4wnqx7zfvfqh7s24w95x9nkw55kmizvrwf0glw9m4n"; meta = with stdenv.lib; { diff --git a/pkgs/tools/nix/nixpkgs-fmt/default.nix b/pkgs/tools/nix/nixpkgs-fmt/default.nix index 946710b1fdd..eac8d1293d2 100644 --- a/pkgs/tools/nix/nixpkgs-fmt/default.nix +++ b/pkgs/tools/nix/nixpkgs-fmt/default.nix @@ -10,6 +10,9 @@ rustPlatform.buildRustPackage rec { sha256 = "1iylldgyvrcarfigpbhicg6j6qyipfiqn7gybza7qajfzyprjqfa"; }; + # Delete this on next update; see #79975 for details + legacyCargoFetcher = true; + cargoSha256 = "04my7dlp76dxs1ydy2sbbca8sp3n62wzdxyc4afcmrg8anb0ghaf"; meta = with lib; { |