|
27 | 27 | callTests = lib.callPackagesWith autoArgs; |
28 | 28 | in |
29 | 29 | { |
30 | | - extra-args-tests = import ./extra-args.nix { |
31 | | - inherit pkgs; |
32 | | - inherit makeNixvimWithModule; |
33 | | - }; |
34 | | - extend = import ./extend.nix { inherit pkgs makeNixvimWithModule; }; |
35 | | - extra-files = import ./extra-files.nix { inherit pkgs makeNixvimWithModule; }; |
36 | | - enable-except-in-tests = import ./enable-except-in-tests.nix { |
37 | | - inherit pkgs makeNixvimWithModule; |
38 | | - inherit (self.lib.${system}.check) mkTestDerivationFromNixvimModule; |
39 | | - }; |
| 30 | + extra-args-tests = callTest ./extra-args.nix { }; |
| 31 | + extend = callTest ./extend.nix { }; |
| 32 | + extra-files = callTest ./extra-files.nix { }; |
| 33 | + enable-except-in-tests = callTest ./enable-except-in-tests.nix { }; |
40 | 34 | failing-tests = callTest ./failing-tests.nix { }; |
41 | | - no-flake = import ./no-flake.nix { |
42 | | - inherit system; |
43 | | - inherit (self.lib.${system}.check) mkTestDerivationFromNvim; |
44 | | - nixvim = "${self}"; |
45 | | - }; |
46 | | - lib-tests = import ./lib-tests.nix { |
47 | | - inherit pkgs helpers; |
48 | | - inherit (pkgs) lib; |
49 | | - }; |
50 | | - maintainers = import ./maintainers.nix { inherit pkgs; }; |
| 35 | + no-flake = callTest ./no-flake.nix { }; |
| 36 | + lib-tests = callTest ./lib-tests.nix { }; |
| 37 | + maintainers = callTest ./maintainers.nix { }; |
51 | 38 | plugins-by-name = callTest ./plugins-by-name.nix { }; |
52 | 39 | generated = callTest ./generated.nix { }; |
53 | 40 | package-options = callTest ./package-options.nix { }; |
54 | 41 | lsp-all-servers = callTest ./lsp-servers.nix { }; |
55 | 42 | } |
56 | 43 | # Tests generated from ./test-sources |
57 | 44 | # Grouped as a number of link-farms in the form { test-1, test-2, ... test-N } |
58 | | -// import ./main.nix { |
59 | | - inherit |
60 | | - lib |
61 | | - pkgs |
62 | | - pkgsUnfree |
63 | | - helpers |
64 | | - ; |
65 | | -} |
| 45 | +// callTests ./main.nix { } |
0 commit comments