Jalil David Salamé Messina
8b2984be90
All checks were successful
/ check (push) Successful in 26s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
Instead of setting some specific unstable packages, make nixvim always use packages from nixos-unstable.
26 lines
676 B
Nix
26 lines
676 B
Nix
{ inputs, ... }:
|
|
{
|
|
flake.overlays.nixvim = inputs.nixvim.overlays.default;
|
|
|
|
perSystem =
|
|
{ pkgs, system, ... }:
|
|
let
|
|
nixvimLib = inputs.nixvim.lib.${system};
|
|
nixvim = inputs.nixvim.legacyPackages.${system};
|
|
module = {
|
|
inherit pkgs;
|
|
extraSpecialArgs = {
|
|
inherit (inputs) unstable;
|
|
inherit system;
|
|
};
|
|
module = import ../nvim/standalone.nix { standalone = true; };
|
|
};
|
|
in
|
|
{
|
|
# Check standalone nvim build
|
|
checks.nvim = nixvimLib.check.mkTestDerivationFromNixvimModule module;
|
|
|
|
# Nvim standalone module
|
|
packages.nvim = nixvim.makeNixvimWithModule module;
|
|
};
|
|
}
|