Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

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.