mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-13 12:31:07 +01:00
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.
This commit is contained in:
parent
bffc49ffb2
commit
221056c59f
3 changed files with 14 additions and 3 deletions
|
|
@ -8,6 +8,7 @@ with lib;
|
|||
|
||||
test.stubs.autojump = {
|
||||
buildScript = "mkdir -p $out/bin; touch $out/bin/autojump";
|
||||
outPath = null;
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue