Closed blaggacao closed 9 months ago
Flake inputs don't store metadata, such as for example the url from which they where fetched.
There's no practical way * to get that data unless the repository contains it in its files.
However, sometisem you need that metadata, for example to clone local compies of the sources to work on them.
* you could parse flake.nix manually with something like (import <reporoot>/flake.nix).inputs, in all theroy
(import <reporoot>/flake.nix).inputs
Also, albeit solutions such as flakehub exist, flake inputs are notoriously bad at detecting new versions.
Implement an nvfetcher block type in order to:
nvfetcher
Context
Flake inputs don't store metadata, such as for example the url from which they where fetched.
There's no practical way * to get that data unless the repository contains it in its files.
However, sometisem you need that metadata, for example to clone local compies of the sources to work on them.
* you could parse flake.nix manually with something like
(import <reporoot>/flake.nix).inputs
, in all theroyAlso, albeit solutions such as flakehub exist, flake inputs are notoriously bad at detecting new versions.
Proposed Solution
Implement an
nvfetcher
block type in order to: