diff --git a/tests/default.nix b/tests/default.nix index 3ff5da3e..dae54920 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -5,7 +5,7 @@ pkgsUnfree, }: let - fetchTests = import ./fetch-tests.nix; + fetchTests = import ./fetch-tests.nix { inherit lib pkgs helpers; }; test-derivation = import ../lib/tests.nix { inherit pkgs lib; }; inherit (test-derivation) mkTestDerivationFromNixvimModule; @@ -17,10 +17,7 @@ let }; # List of files containing configurations - testFiles = fetchTests { - inherit lib pkgs helpers; - root = ./test-sources; - }; + testFiles = fetchTests ./test-sources; exampleFiles = { name = "examples"; diff --git a/tests/fetch-tests.nix b/tests/fetch-tests.nix index d522c33f..39f03fae 100644 --- a/tests/fetch-tests.nix +++ b/tests/fetch-tests.nix @@ -1,5 +1,4 @@ { - root, lib, pkgs, helpers, @@ -49,4 +48,4 @@ let builtins.concatLists ]; in -fetchTests root [ ] +root: fetchTests root [ ]