diff --git a/lib/default.nix b/lib/default.nix index 0d7788f6d3..91000de15f 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -7,6 +7,6 @@ }@args: { # Add all exported modules here - check = import ../tests/test-derivation.nix { inherit lib pkgs; }; + check = import ./tests.nix { inherit lib pkgs; }; helpers = import ./helpers.nix (args // { inherit _nixvimTests; }); } diff --git a/tests/test-derivation.nix b/lib/tests.nix similarity index 100% rename from tests/test-derivation.nix rename to lib/tests.nix diff --git a/tests/default.nix b/tests/default.nix index 14a68cde79..5de8922c87 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -6,7 +6,7 @@ }: let fetchTests = import ./fetch-tests.nix; - test-derivation = import ./test-derivation.nix { inherit pkgs lib; }; + test-derivation = import ../lib/tests.nix { inherit pkgs lib; }; inherit (test-derivation) mkTestDerivationFromNixvimModule; # List of files containing configurations