From ce4c3a72c146a253f4f032bbe8a3bf8dd553ff7e Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sat, 7 Sep 2024 17:36:50 +0100 Subject: [PATCH] tests/fetch-test: tweak signature --- tests/default.nix | 7 ++----- tests/fetch-tests.nix | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) 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 [ ]