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
liv.trivial.version: don't make it available as lib.version #64693
base: master
Are you sure you want to change the base?
Conversation
Example #64678 |
cc @timokau let's see if anything breaks |
because it's not uncommon that it gets accidentally used.
In that case you also want to drop the So if I see this correctly, this is mostly a naming issue (a.k.a not everything from |
Isn't |
maybe not valid but fwiw I use it in out-of-tree derivations and overlays as a way of determining which hash to use for things like buildRustPackage's
Worth noting that anything using the version to target multiple nixpkgs channels will want to use Side note: it's silly but one option that avoids the rename might be to simply include an assertion in mkDerivation or ofborg that version should never equate to the nixpkgs version so the mistake is caught at eval time, though I think |
Another argument for removing |
@FRidh should this be merged or closed? Feedback seems split. |
I marked this as stale due to inactivity. → More info |
because it's not uncommon that it gets accidentally used.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)