mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
doc: recommend fetchCargoVendor
Cargo 1.84.0 broke fetchCargoTarball hashes, so fetchCargoTarball is not long for this world. Tell people to use fetchCargoVendor, which Nixpkgs is currently in the process of switching to across the tree.
This commit is contained in:
parent
347934f4c4
commit
3e5b235146
2 changed files with 36 additions and 42 deletions
|
@ -26,6 +26,7 @@ In Nixpkgs, `cargo-tauri.hook` overrides the default build and install phases.
|
|||
rustPlatform.buildRustPackage rec {
|
||||
# . . .
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "...";
|
||||
|
||||
# Assuming our app's frontend uses `npm` as a package manager
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue