1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-14 11:47:31 +00:00
Commit graph

15 commits

Author SHA1 Message Date
Robert Hensing
6f8516c874 Test mkFlake specialArgs 2024-07-03 10:12:44 +02:00
Robert Hensing
b60b914ac6 dev: Make the test slightly more sensible 2024-01-30 00:00:55 +01:00
Robert Hensing
bffc4be17f
Merge pull request #209 from hercules-ci/getexe
Getexe
2024-01-29 19:03:35 +01:00
Robert Hensing
562a6b5e54 dev: Test apps 2024-01-29 18:57:10 +01:00
Robert Hensing
c8c8e5661e Remove errorLocation from the tests
As mentioned in the previous commit, we don't have a use case for
this in flake-parts yet, as far as I'm aware. It can be exposed
when we do have a concrete use case where it is needed.
2023-10-14 00:06:42 +02:00
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
Robert Hensing
ca41a1b69b Explain hci effect tests 2022-11-13 12:25:55 +01:00
Robert Hensing
985c55dce2 Test the template 2022-11-13 12:19:55 +01:00