mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-04-01 00:00:03 +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";
|
||||
# when git-based crates are updated, run:
|
||||
# nix run github:Mic92/nix-update -- --version=skip --flake default
|
||||
# to update the hashes
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = "${src}/rust-src/Cargo.lock";
|
||||
outputHashes = {
|
||||
|
Loading…
Reference in New Issue
Block a user