mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{self, ...}: {
|
|
perSystem = {
|
|
pkgs,
|
|
config,
|
|
system,
|
|
helpers,
|
|
makeNixvimWithModuleUnfree,
|
|
makeNixvimWithModule,
|
|
...
|
|
}: {
|
|
checks = {
|
|
tests = import ../tests {
|
|
inherit pkgs helpers makeNixvimWithModule;
|
|
inherit (pkgs) lib;
|
|
makeNixvim = configuration:
|
|
makeNixvimWithModuleUnfree {
|
|
module = {
|
|
config = configuration;
|
|
};
|
|
};
|
|
};
|
|
|
|
extra-args-tests = import ../tests/extra-args.nix {
|
|
inherit pkgs;
|
|
inherit makeNixvimWithModule;
|
|
};
|
|
|
|
enable-except-in-tests = import ../tests/enable-except-in-tests.nix {
|
|
inherit pkgs makeNixvimWithModule;
|
|
inherit (self.lib.${system}.check) mkTestDerivationFromNixvimModule;
|
|
};
|
|
|
|
no-flake = import ../tests/no-flake.nix {
|
|
inherit system;
|
|
inherit (self.lib.${system}.check) mkTestDerivationFromNvim;
|
|
nixvim = "${self}";
|
|
};
|
|
|
|
lib-tests = import ../tests/lib-tests.nix {
|
|
inherit pkgs helpers;
|
|
inherit (pkgs) lib;
|
|
};
|
|
};
|
|
};
|
|
}
|