mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 01:08:43 +02:00
22 lines
464 B
Nix
22 lines
464 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 { };
|
||
|
}
|
||
|
// lib.optionalAttrs isLinux {
|
||
|
nixos-module = (callTest ./nixos.nix { }).config.system.build.toplevel;
|
||
|
}
|
||
|
// lib.optionalAttrs isDarwin {
|
||
|
darwin-module = (callTest ./darwin.nix { }).system;
|
||
|
}
|