hercules-ci / flake-parts

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

Test mkFlake specialArgs #235

Closed roberth closed 1 month ago

roberth commented 1 month ago

It already worked, but didn't have a test in eval-tests.nix.

srid commented 1 month ago

Interesting. Is there a real-world use case for specialArgs in mkFlake? Because it runs outside of perSystem context, I wonder what sort of things the user would want to pass that are not inputs.

roberth commented 1 month ago

It could be used to override something, or maybe as part of some integration of flake-parts into something else. I don't see a particularly good use case for it, but it's been a public interface for a long time now, so it's better to make sure it keep working.