mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2025-03-13 20:28:41 +00:00
The difference is that moduleLocation is "guaranteed" reliable data, whereas errorLocation is the best choice for error messages in the core. moduleLocation is suitable for the module key attribute. errorLocation is best for the *ROOT* module _file attribute. Initially I applied errorLocation in too many places. It is only needed when the flake output attribute names are strict in it. To avoid confusion, I'm not exposing errorLocation to the modules, until we have a concrete use case for it. |
||
---|---|---|
.. | ||
tests | ||
default.nix | ||
flake-module.nix | ||
flake.lock | ||
flake.nix | ||
README.md | ||
repl.nix |
Separate dev
flake
Wouldn't recommend this pattern normally, but I'm trying to keep
deps low for flake-parts
until we have split dev inputs
that don't carry over to dependent lock files.