hermes-agent/nix
Siddharth Balyan 3e61703b08
fix(nix): use --rebuild in fix-lockfiles to bypass cached FOD store paths (#15444)
* fix(nix): use --rebuild in fix-lockfiles to bypass cached FOD store paths

fix-lockfiles checked npm lockfile hashes by running
`nix build .#<attr>.npmDeps`, but fetchNpmDeps is a fixed-output
derivation — if the old store path exists locally, Nix returns it from
cache without re-fetching. This caused the script to report "ok" even
when hashes were stale, while CI (with no cache) failed with a hash
mismatch.

Adding --rebuild forces Nix to re-derive and verify the output hash
against the declared one, catching staleness regardless of local cache
state. Also updates the tui and web npm deps hashes that were stale.

* fix(nix): regenerate ui-tui lockfile to add missing @emnapi entries

npm ci was failing because @emnapi/core and @emnapi/runtime were
missing from ui-tui/package-lock.json despite being required as peer
deps by @napi-rs/wasm-runtime (via @rolldown/binding-wasm32-wasi).

Running npm install --package-lock-only adds the missing entries.
The npmDepsHash reverts to its previous value since fetchNpmDeps was
already fetching these packages as transitive dependencies.
2026-04-25 06:14:32 +05:30
..
checks.nix fix(nix): upgrade Python 3.11 → 3.12, add cross-platform eval check (#12208) 2026-04-18 21:51:03 +05:30
configMergeScript.nix feat: nix flake — uv2nix build, NixOS module, persistent container mode (#20) 2026-03-26 01:08:02 +05:30
devShell.nix nix: automatic lockfile fixing to keep main building with nix (#13136) 2026-04-21 01:42:28 +05:30
lib.nix fix(nix): use --rebuild in fix-lockfiles to bypass cached FOD store paths (#15444) 2026-04-25 06:14:32 +05:30
nixosModules.nix fix(nix): make working directory writable 2026-04-23 02:06:16 -07:00
packages.nix nix: automatic lockfile fixing to keep main building with nix (#13136) 2026-04-21 01:42:28 +05:30
python.nix fix(nix): upgrade Python 3.11 → 3.12, add cross-platform eval check (#12208) 2026-04-18 21:51:03 +05:30
tui.nix nix: automatic lockfile fixing to keep main building with nix (#13136) 2026-04-21 01:42:28 +05:30
web.nix fix(nix): use --rebuild in fix-lockfiles to bypass cached FOD store paths (#15444) 2026-04-25 06:14:32 +05:30