mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
tests/platforms: move out of flake wrappers
module
These should be set up in a dedicated test file, owned by `tests/default.nix`. Also refactored to use `callTest`.
This commit is contained in:
parent
115994f18e
commit
77c78bd04e
7 changed files with 40 additions and 51 deletions
|
@ -14,39 +14,6 @@
|
|||
defaultSystem = system;
|
||||
};
|
||||
};
|
||||
|
||||
checks =
|
||||
{
|
||||
home-manager-module =
|
||||
(import ../tests/modules/hm.nix {
|
||||
inherit pkgs;
|
||||
inherit (inputs) home-manager;
|
||||
nixvim = self;
|
||||
}).activationPackage;
|
||||
home-manager-extra-files-byte-compiling =
|
||||
import ../tests/modules/hm-extra-files-byte-compiling.nix
|
||||
{
|
||||
inherit pkgs;
|
||||
inherit (inputs) home-manager;
|
||||
nixvim = self;
|
||||
};
|
||||
}
|
||||
// pkgs.lib.optionalAttrs (!pkgs.stdenv.isDarwin) {
|
||||
nixos-module =
|
||||
(import ../tests/modules/nixos.nix {
|
||||
inherit system;
|
||||
inherit (inputs) nixpkgs;
|
||||
nixvim = self;
|
||||
}).config.system.build.toplevel;
|
||||
}
|
||||
// pkgs.lib.optionalAttrs pkgs.stdenv.isDarwin {
|
||||
darwin-module =
|
||||
(import ../tests/modules/darwin.nix {
|
||||
inherit system;
|
||||
inherit (inputs) nix-darwin;
|
||||
nixvim = self;
|
||||
}).system;
|
||||
};
|
||||
};
|
||||
|
||||
flake = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue