diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2023-06-16 13:57:35 +0200 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2023-06-16 14:02:17 +0200 |
commit | f9a366f9a6ba7bab23c4095a43228b7f58feffd3 (patch) | |
tree | c50daed4b766db3e8802c73e2911103c1d397399 | |
parent | 6a1ae0e91b7f17d272f346f6200c89073ea2ce4f (diff) |
build.nix: add instruction to keep cargoDeps hashes up-to-date
-rw-r--r-- | build.nix | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 = { |