mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
Includes a regression test.
Revert "lib/modules: remove explicit `specialArgs.lib`"
This reverts commit b5efe91c52
.
22 lines
536 B
Nix
22 lines
536 B
Nix
{
|
|
callTest,
|
|
lib,
|
|
stdenv,
|
|
}:
|
|
let
|
|
inherit (stdenv.hostPlatform)
|
|
isLinux
|
|
isDarwin
|
|
;
|
|
in
|
|
{
|
|
home-manager-module = (callTest ./hm.nix { }).activationPackage;
|
|
home-manager-extra-files-byte-compiling = callTest ./hm-extra-files-byte-compiling.nix { };
|
|
home-manager-submodule-merge = callTest ./hm-submodule-merge.nix { };
|
|
}
|
|
// lib.optionalAttrs isLinux {
|
|
nixos-module = (callTest ./nixos.nix { }).config.system.build.toplevel;
|
|
}
|
|
// lib.optionalAttrs isDarwin {
|
|
darwin-module = (callTest ./darwin.nix { }).system;
|
|
}
|