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;
|
2024-10-14 09:31:19 +02:00
|
|
|
extraSpecialArgs = {
|
|
|
|
inherit (inputs) unstable;
|
|
|
|
inherit system;
|
|
|
|
};
|
|
|
|
module = import ../nvim/standalone.nix { standalone = true; };
|
2024-10-04 23:23:30 +02:00
|
|
|
};
|
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
|
|
|
};
|
|
|
|
}
|