1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-08 12:19:43 +01:00
Commit graph

3 commits

Author SHA1 Message Date
Naïm Favier
221056c59f
tests: fix getOutput on stubs
Setting `outputSpecified` prevents `getOutput` from descending into
outputs, which don't have an overridden `outPath`.

Additionally, use `__spliced` to permit derivations to use the dummy as
an input.
2023-06-04 09:15:14 +02:00
amesgen
78f964347c
tests.stubs: set pname 2022-08-12 20:49:49 +02:00
Robert Helgesson
cb09a968e9
tests: add option test.stubs
This option provides a more convenient way to overlay dummy packages.
It also adds a function `config.lib.test.mkStubPackage` that can,
e.g., be used for `package` options.
2021-09-26 23:26:38 +02:00