mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-21 08:21:14 +01:00
lib/modules: init testNixvim and testNixvimWith
Introduce thin wrappers around the `<configuration>.config.build.test` option, intended to replace the legacy `mkTestDerivationFromNvim` and `mkTestDerivationFromNixvimModule` functions.
This commit is contained in:
parent
2695bef079
commit
8486f9144e
2 changed files with 46 additions and 0 deletions
|
|
@ -551,6 +551,11 @@ let
|
|||
expr = lib.functionArgs lib.nixvim.modules.buildNixvimWith;
|
||||
expected = lib.functionArgs lib.nixvim.modules.evalNixvim;
|
||||
};
|
||||
|
||||
testNixvimWith_hasExpectedArgs = {
|
||||
expr = lib.functionArgs lib.nixvim.modules.testNixvimWith;
|
||||
expected = lib.functionArgs lib.nixvim.modules.evalNixvim;
|
||||
};
|
||||
};
|
||||
in
|
||||
if results == [ ] then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue