You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, npins/default.nix is generated by npins for projects using it. I wonder if it would be possible to fetch npins itself as a library from npins/sources.json in default.nix with a small amount of code and call into the fetched library to do the work instead. flake-compat works this way, for example.
The text was updated successfully, but these errors were encountered:
The npins/default.nix is already relatively small and only implements the fetching of the sources.json. What benefit would you get from special casing a npins source fetch?
Basically all you need is #48 and then implement the desired Nix code yourself. In theory one could provide the code as lib code on the Nixpkgs npins package, but that has an obvious bootstrapping problem
Currently,
npins/default.nix
is generated by npins for projects using it. I wonder if it would be possible to fetch npins itself as a library fromnpins/sources.json
indefault.nix
with a small amount of code and call into the fetched library to do the work instead.flake-compat
works this way, for example.The text was updated successfully, but these errors were encountered: