-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
nixos-version: use version_ instead of version #50364
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
Conversation
2bdda8c
to
7f2756c
Compare
I don't think we should have to do this. Doesn't version still get in the derivation attrs? |
Yes, but as it were before, it cascaded through to mkDerivation, which threw an error. See also: #47883 (comment) |
Can’t we just fix mkDerivation to not throw that error? |
This should probably be targeted at staging-next, as it's a blocker. |
version is set in lots of places but might not need to be in a name. Alternative to NixOS#50364.
@hedning Done 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of only pointing in a commit message, actually describe what the commit is about.
I agree here with @matthewbauer. I like it that |
version is set in lots of places but might not need to be in a name. Alternative to #50364.
Maybe a nice middle ground would be to trace a warning message, but allow it? |
A trace would still imply something is not OK. |
Related: 1e99582
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)