Skip to content

fix(nix): stage consolidated lockfile hash - #39814

Closed
yinkev wants to merge 1 commit into
NousResearch:mainfrom
yinkev:fix/nix-lockfile-fix-lib-hash
Closed

fix(nix): stage consolidated lockfile hash#39814
yinkev wants to merge 1 commit into
NousResearch:mainfrom
yinkev:fix/nix-lockfile-fix-lib-hash

Conversation

@yinkev

@yinkev yinkev commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • update the Nix lockfile fix workflow whitelist to allow nix/lib.nix
  • stage nix/lib.nix in both the main auto-fix and manual PR fix jobs

Context

Fixes #39455. fix-lockfiles now writes the consolidated npm hash in nix/lib.nix, but nix-lockfile-fix.yml still whitelisted and staged the old per-package files (nix/tui.nix, nix/web.nix). That made the auto-fix path reject the actual hash update as unexpected or commit nothing.

Verification

  • rg -n "nix/tui\.nix|nix/web\.nix|grep -Ev|git add nix/" .github/workflows/nix-lockfile-fix.yml
  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/nix-lockfile-fix.yml"); puts "yaml ok"'
  • git diff --check

actionlint and yamllint are not installed in this environment, so I could not run those local validators.

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists area/nix Nix flake, NixOS module, container packaging duplicate This issue or pull request already exists labels Jun 5, 2026
@yinkev

yinkev commented Jun 6, 2026

Copy link
Copy Markdown
Contributor Author

Closing this to reduce duplicate review load after maintainer triage labeled it duplicate. If maintainers prefer this exact branch for #39455, I can reopen or rebase it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/nix Nix flake, NixOS module, container packaging duplicate This issue or pull request already exists P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nix-lockfile-fix.yml can never commit its hash update — stages nix/tui.nix + nix/web.nix, but fix-lockfiles writes nix/lib.nix

2 participants