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

Conversation

@ElvishJerricco
Copy link

This isn't often relevant. But if you have inputs that themselves have a flake-compat input, you can end up using those by mistake. This locks the version used by default.nix to the input of the root node instead of which ever input happens to take the flake-compat name first.

For example, I had my flake set up with #4, and eventually my default.nix stopped working because one of my inputs got updated and its flake-compat input ended up taking the flake-compat name in flake.lock, while mine was under flake-compat_2.

@zimbatm zimbatm merged commit 38fd395 into nix-community:master Jun 2, 2024
@zimbatm
Copy link
Member

zimbatm commented Jun 2, 2024

thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants