Open nh2 opened 3 years ago
Yes, one FOD and one not FOD.
Now we can continue, I think :)
I have a question about "environments" they ususally tend to not have any version. what should happen to pkgs/misc/my-env/default.nix ? what about patches?
I think they are not to be versioned at all.
It seems like there isn't a tracking issue about this long-term effort yet (e.g. to mention in commit messages and to make it sprintable).
Nixpkgs moved to an explicit versioning scheme, with the plan to change all packages like so:
See the sprint checkbox list for the remaining packages: https://github.com/NixOS/nixpkgs/issues/103997#issuecomment-728752185
This obviates
meta.version
andmeta.tag
; they should be removed (as discussed in #12156).Tangentially related: Where to put
unstable
versions / package names (see #68518).Details on what's right and what isn't
Note that the following pattern is not good because it still uses
name
:In the new approach,
pname
andversion
have to be given directly tomkDerivation
.You can use
mkDerivation rec
to be able to re-use e.g.version
insrc
or other fields:Automation
You can link big treewide efforts/PRs here (tick merged ones):
Tasks
meta.tag
should indeed be removed as wellupdate-walker.sh
script? Ask @7c6f434c: #151363updateWalker
because it's the last reference toupdate-walker.sh
: #151363