Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generateNixPathFromInputs == true && linkInputs == false should be an error #106

Closed
lilyball opened this issue Dec 1, 2021 · 1 comment

Comments

@lilyball
Copy link

lilyball commented Dec 1, 2021

If I set nix.generateNixPathFromInputs = true it will symlink my inputs into /etc/nix/inputs even if I also set nix.linkInputs = false. This configuration should be considered an error instead (e.g. using an assertion).

Also, I would suggest that setting nix.generateNixPathFromInputs = true should actually change the default value of nix.linkInputs, so that way nixos-option nix.linkInputs shows the right value.

@gytis-ivaskevicius
Copy link
Owner

Yep, makes sense.

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

No branches or pull requests

2 participants