Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 519 Bytes

File metadata and controls

18 lines (12 loc) · 519 Bytes

npins

This template is an example of using flake-file.inputs in a non-flakes project with npins.

It uses npins to pin and fetch inputs defined as options inside ./modules.

Update npins

Update the npins/ directory from your declared inputs:

nix-shell . -A flake-file.sh --run write-npins

This will run npins add for each input declared in your modules, using the correct npins subcommand (github, tarball, git, etc.) based on the input URL scheme.