about summary refs log tree commit diff stats
path: root/tests/by-name/nv/nvim-checkhealth/test.nix
blob: 399a25ffd1471c188c19a705ec6f3ff2e7dcb6da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  mkTest,
  extraModules,
  pkgs,
  ...
}:
mkTest {
  name = "nvim-checkhealth";

  configuration = {
    imports = [
      ../../../../modules/by-name/nv/nvim/module.nix
      ../../../../modules/by-name/ni/nixpkgs/module.nix
    ];
    config = {
      soispha = {
        nixpkgs = {
          enable = true;
          systemName = "x86_64-linux";
        };
        programs.nvim = {
          enable = true;
          shell = pkgs.zsh;
        };
      };
      home-manager.users.soispha = {
        home.packages = [
          pkgs.bat
          pkgs.ripgrep
          pkgs.bat-extras.batgrep
        ];
        imports = [
          extraModules.nixvim.homeManagerModule
        ];
      };
    };
  };

  testData = {};

  description = ./test.desc;

  # FIXME: This is not reproducible, but is also not checked via `Expect`s. As such this
  # whole test is quite useless, but it might work some day. <2024-11-30>
  hash = null;
}