hercules-ci / flake-parts

❄️ Simplify Nix Flakes with the module system
https://flake.parts
MIT License
699 stars 38 forks source link

templates: make flake-parts input explicit #210

Closed MatthewCroughan closed 6 months ago

MatthewCroughan commented 6 months ago

Making the input implicit and relying on the registry has never worked for me, and I don't like relying on it

nix flake show
warning: Git tree '/home/matthew/tmp/llm-chain' is dirty
error:
       … while updating the lock file of flake 'git+file:///home/matthew/tmp/llm-chain'

       … while updating the flake input 'flake-parts'

       error: cannot find flake 'flake:flake-parts' in the flake registries

Each new template would just do this for me, and I always end up having to write the input explicitly anyway.

roberth commented 6 months ago

Thanks!