hercules-ci / flake-parts

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

Template flakes do not contain `flake-parts` as input, yet they rely on it. #138

Closed Niols closed 7 months ago

Niols commented 1 year ago

For instance, in the multi-module template (but it is the same for the others):

https://github.com/hercules-ci/flake-parts/blob/dcc36e45d054d7bb554c9cdab69093debd91a0b5/template/multi-module/flake.nix#L4-L8

Is this on purpose? I would have expected the template to contain

inputs.flake-parts.url = "github:hercules-ci/flake-parts";
terlar commented 1 year ago

Without that it will use the flake-parts from the flake-registry, I think it is intended.

roberth commented 7 months ago

That is correct, but now the input is explicit, so that this question doesn't have to be asked again.