-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Set builtins.nixVersion to a constant? #5970
Comments
Did you see this use-case? nix-community/poetry2nix@5c06704. (Arguably should not be needed, but here we are.) |
Yeah regressions should be fixed. |
edolstra
added a commit
to edolstra/nix
that referenced
this issue
Jan 24, 2022
This prevents issues like NixOS/nixpkgs#156527. Eventually we should do this in impure mode as well. Issue NixOS#5970.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
builtins.nixVersion
is an impurity that can cause evaluation results to differ between Nix versions, see NixOS/nixpkgs#156527. So we could set it to a fixed value like2.6
. It's not clear whether there is a legitimate use case forbuiltins.nixVersion
.The text was updated successfully, but these errors were encountered: