mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-04-04 00:00:04 +03:00
build.nix: add instruction to keep cargoDeps hashes up-to-date
This commit is contained in:
parent
6a1ae0e91b
commit
f9a366f9a6
@ -51,6 +51,9 @@ in stdenv.mkDerivation {
|
|||||||
];
|
];
|
||||||
|
|
||||||
cargoRoot = "rust-src";
|
cargoRoot = "rust-src";
|
||||||
|
# when git-based crates are updated, run:
|
||||||
|
# nix run github:Mic92/nix-update -- --version=skip --flake default
|
||||||
|
# to update the hashes
|
||||||
cargoDeps = rustPlatform.importCargoLock {
|
cargoDeps = rustPlatform.importCargoLock {
|
||||||
lockFile = "${src}/rust-src/Cargo.lock";
|
lockFile = "${src}/rust-src/Cargo.lock";
|
||||||
outputHashes = {
|
outputHashes = {
|
||||||
|
Loading…
Reference in New Issue
Block a user