2024-10-04 23:23:30 +02:00
|
|
|
{ inputs, ... }:
|
|
|
|
{
|
|
|
|
flake.overlays.nixvim = inputs.nixvim.overlays.default;
|
|
|
|
|
|
|
|
perSystem =
|
|
|
|
{ pkgs, system, ... }:
|
2024-10-05 22:37:58 +02:00
|
|
|
let
|
|
|
|
nixvimLib = inputs.nixvim.lib.${system};
|
|
|
|
nixvim = inputs.nixvim.legacyPackages.${system};
|
|
|
|
module = {
|
2024-10-04 23:23:30 +02:00
|
|
|
inherit pkgs;
|
|
|
|
module = ../nvim/standalone.nix;
|
|
|
|
};
|
2024-10-05 22:37:58 +02:00
|
|
|
in
|
|
|
|
{
|
|
|
|
# Check standalone nvim build
|
|
|
|
checks.nvim = nixvimLib.check.mkTestDerivationFromNixvimModule module;
|
2024-10-04 23:23:30 +02:00
|
|
|
|
|
|
|
# Nvim standalone module
|
2024-10-05 22:37:58 +02:00
|
|
|
packages.nvim = nixvim.makeNixvimWithModule module;
|
2024-10-04 23:23:30 +02:00
|
|
|
};
|
|
|
|
}
|