1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2025-03-09 18:36:49 +00:00
Commit graph

8 commits

Author SHA1 Message Date
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
Robert Hensing
6ae737878e Test that packages is not strict in devShell
Discovered and solved by figsoda, see
https://github.com/hercules-ci/flake-parts/issues/160
2023-05-30 15:31:19 +02:00
Robert Hensing
f5b6209441 flakeModules: Support disabledModules
Requires Nixpkgs > 2023-03-09
2023-03-09 17:24:06 +01:00
Robert Hensing
319ee04044 easyOverlay: fix
The tests only caught this for the non-memoized system case.
2023-01-05 01:16:03 +01:00
Robert Hensing
836c38aa2a eval-tests: Fix warnings 2023-01-04 20:14:41 +01:00
Robert Hensing
f6d80a68c6 Add flakeModules.easyOverlay code 2022-12-27 15:39:34 +01:00
Robert Hensing
85518a2916 Remove darwinModules
It should be added to the nix-darwin project instead.
2022-11-27 16:21:59 +00:00
Robert Hensing
c742f6f25a Add some eval tests
Not how I would recommend to do it, because I'm forcefully trying
to avoid adding dependencies to flake-parts.
Other projects should not follow this restriction.
2022-11-27 16:06:43 +00:00