mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
tests/fetch-test: tweak signature
This commit is contained in:
parent
d12045e057
commit
ce4c3a72c1
2 changed files with 3 additions and 7 deletions
|
@ -5,7 +5,7 @@
|
||||||
pkgsUnfree,
|
pkgsUnfree,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
fetchTests = import ./fetch-tests.nix;
|
fetchTests = import ./fetch-tests.nix { inherit lib pkgs helpers; };
|
||||||
test-derivation = import ../lib/tests.nix { inherit pkgs lib; };
|
test-derivation = import ../lib/tests.nix { inherit pkgs lib; };
|
||||||
inherit (test-derivation) mkTestDerivationFromNixvimModule;
|
inherit (test-derivation) mkTestDerivationFromNixvimModule;
|
||||||
|
|
||||||
|
@ -17,10 +17,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
# List of files containing configurations
|
# List of files containing configurations
|
||||||
testFiles = fetchTests {
|
testFiles = fetchTests ./test-sources;
|
||||||
inherit lib pkgs helpers;
|
|
||||||
root = ./test-sources;
|
|
||||||
};
|
|
||||||
|
|
||||||
exampleFiles = {
|
exampleFiles = {
|
||||||
name = "examples";
|
name = "examples";
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
root,
|
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
helpers,
|
helpers,
|
||||||
|
@ -49,4 +48,4 @@ let
|
||||||
builtins.concatLists
|
builtins.concatLists
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
fetchTests root [ ]
|
root: fetchTests root [ ]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue