Commit graph

3 commits

Author SHA1 Message Date
Matt Sturgeon
e64c511811
tests/package-options: allow option defaults to throw
This is often an intended behaviour, so just assume any option whose
default throws is not a package-type option
2024-09-24 03:27:48 +01:00
Matt Sturgeon
fcb782cd9c
flake: add an empty nixvimConfiguration to the legacyPackages output 2024-09-15 18:59:52 +01:00
Matt Sturgeon
e48da949cf
tests/package-options: init
The test ensures "package" options use a "literalExpression" in their
defaultText; i.e. it validates `lib.mkPackageOption` was used to build
the package options.

All options whose `default` is a derivation are covered by the test,
other than submodule sub-options.
2024-09-05 02:24:52 +01:00