From: Jörg Thalheim Date: Fri, 16 Jun 2023 11:57:35 +0000 (+0200) Subject: build.nix: add instruction to keep cargoDeps hashes up-to-date X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=f9a366f9a6ba7bab23c4095a43228b7f58feffd3;p=bcachefs-tools-debian build.nix: add instruction to keep cargoDeps hashes up-to-date --- diff --git a/build.nix b/build.nix index efb5d73..5cf07de 100644 --- a/build.nix +++ b/build.nix @@ -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 = {