mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 09:48:42 +02:00
44 lines
857 B
Nix
44 lines
857 B
Nix
{
|
|
inputs,
|
|
self,
|
|
...
|
|
}: {
|
|
perSystem = {
|
|
pkgs,
|
|
config,
|
|
makeNixvimWithModuleUnfree,
|
|
makeNixvimWithModule,
|
|
...
|
|
}: {
|
|
checks = {
|
|
tests = import ../tests {
|
|
inherit pkgs;
|
|
inherit (pkgs) lib;
|
|
makeNixvim = configuration:
|
|
makeNixvimWithModuleUnfree {
|
|
module = {
|
|
config = configuration;
|
|
};
|
|
};
|
|
};
|
|
|
|
extra-args-tests = import ../tests/extra-args.nix {
|
|
inherit pkgs;
|
|
inherit makeNixvimWithModule;
|
|
};
|
|
|
|
lib-tests = import ../tests/lib-tests.nix {
|
|
inherit pkgs;
|
|
inherit (pkgs) lib;
|
|
};
|
|
|
|
home-manager =
|
|
(import ../tests/modules/hm.nix {
|
|
inherit pkgs;
|
|
inherit (inputs) home-manager;
|
|
nixvim = self;
|
|
})
|
|
.activationPackage;
|
|
};
|
|
};
|
|
}
|