From f9a366f9a6ba7bab23c4095a43228b7f58feffd3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 16 Jun 2023 13:57:35 +0200 Subject: [PATCH] build.nix: add instruction to keep cargoDeps hashes up-to-date --- build.nix | 3 +++ 1 file changed, 3 insertions(+) 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 = { -- 2.39.2