mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
51 lines
1.2 KiB
Nix
51 lines
1.2 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;
|
|
};
|
|
|
|
extend = import ../tests/extend.nix { inherit pkgs 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;
|
|
};
|
|
};
|
|
};
|
|
}
|