1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-05 08:31:05 +01:00
nixvim/flake/lib.nix
Matt Sturgeon 60817987a7 flake: remove lib.<system>.helpers
Remove the deprecated <flake>.lib.<system>.helpers output, deprecated in
d39a09d05d
2025-12-03 10:34:03 +00:00

33 lines
663 B
Nix

{
self,
config,
lib,
withSystem,
...
}:
{
# Public `lib` flake output
flake.lib = {
nixvim = lib.makeOverridable ({ lib }: (lib.extend self.lib.overlay).nixvim) {
inherit lib;
};
overlay = import ../lib/overlay.nix {
flake = self;
};
# Top-top-level aliases
inherit (self.lib.nixvim)
evalNixvim
;
}
// lib.genAttrs config.systems (
lib.flip withSystem (
{ pkgs, system, ... }:
{
# NOTE: this is the publicly documented flake output we've had for a while
check = pkgs.callPackage ../lib/tests.nix {
inherit lib self system;
};
}
)
);
}