1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2025-03-13 20:28:41 +00:00
flake-parts/dev
Robert Hensing f427ecf1a0 Repurpose moduleLocation impl for new errorLocation
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.
2023-10-14 00:03:28 +02:00
..
tests Repurpose moduleLocation impl for new errorLocation 2023-10-14 00:03:28 +02:00
default.nix Fix infinite recursion in inputs 2022-12-17 18:42:26 +01:00
flake-module.nix remove unused code 2023-05-29 13:52:03 -04:00
flake.lock flakeModules: Support disabledModules 2023-03-09 17:24:06 +01:00
flake.nix remove unused code 2023-05-29 13:52:03 -04:00
README.md Move site to repo hercules-ci/flake.parts-website 2022-11-12 16:38:48 +01:00
repl.nix Add local tooling and CI wiring without bloating flake.nix 2022-05-17 10:12:40 +02:00

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.