Skip to content
This repository was archived by the owner on Dec 27, 2025. It is now read-only.

Commit ed4bef2

Browse files
committed
chore: automate Nix hash update when lock file changes
Add `update-nix-hash` task and chain it to `update-lock` so that Nix flake hashes stay synchronized with Deno lock file changes. This prevents divergence between Deno and Nix dependency versions.
1 parent 316068f commit ed4bef2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

deno.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"coverage": "deno coverage .coverage --include='src/'",
2828
"verify": "deno fmt && deno lint && deno task check && deno task test",
2929
"probitas": "deno run -A --unstable-kv --lock ./deno.lock ./mod.ts",
30-
"update-lock": "rm deno.lock && deno cache -r mod.ts jsr:@probitas/probitas jsr:@probitas/probitas@^0",
30+
"update-nix-hash": "nix run .#probitas.updateDepsHash",
31+
"update-lock": "rm deno.lock && deno cache -r mod.ts jsr:@probitas/probitas jsr:@probitas/probitas@^0 && deno task update-nix-hash",
3132
"update-version": "deno run -A .scripts/update_version.ts"
3233
},
3334
"imports": {

0 commit comments

Comments
 (0)