Skip to content

nix: fix constant bun2nix rebuilding - #663

Closed
mirdukkkkk wants to merge 3 commits into
nab138:mainfrom
mirdukkkkk:lockfile-fix
Closed

nix: fix constant bun2nix rebuilding#663
mirdukkkkk wants to merge 3 commits into
nab138:mainfrom
mirdukkkkk:lockfile-fix

Conversation

@mirdukkkkk

Copy link
Copy Markdown
Contributor

I noticed that every time I ran nix-collect-garbage -d and restarted the build, I had to rebuild bun2nix from scratch, which in turn took quite a bit of time.

I made it so that the bun2nix build depends specifically on bun.lock (as it should), and accordingly, if it hasn't been modified, it doesn't rebuild.

image

@mirdukkkkk

Copy link
Copy Markdown
Contributor Author

@mirdukkkkk mirdukkkkk closed this Sep 6, 2026
@mirdukkkkk
mirdukkkkk deleted the lockfile-fix branch September 6, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant