Description
Courtesy of research conducted by @GTrunSec
Would your feature fix an existing issue?
The current way of fetching package sources is by using nix flake builtin capabilities via a sub-flake located in ./pkgs/flake.nix
.
This workflow is seen critically by the community as an overuse of flakes.
Describe the solution you'd like
https://github.com/berberman/nvfetcher
Implements a flake-native version updater which relies on purpose built tooling for upstream version detection on a variety of source hosting platforms.
It implements a simple to read toml file for specifying those source repositories (instead of sort of "twisting" flake inputs to fit).
It abstracts away the perceived complexity of ./pkgs/flake.nix
entirely.
Describe alternatives you've considered
At some point, flakes might mature into a state where source fetching is natively supported and semantically useful version data (ref
in addition to rev
) will be accessible as an input's metadata. However the corresponding suggestion in upstream nix
(link tbd) was closed by @edolstra for the time being, which indicates that this use case will not enjoy prime support any time soon.