neovim-flake/lib/stdlib-extended.nix

10 lines
343 B
Nix
Raw Normal View History

2023-02-06 19:57:35 +01:00
# From home-manager: https://github.com/nix-community/home-manager/blob/master/modules/lib/stdlib-extended.nix
# Just a convenience function that returns the given Nixpkgs standard
# library extended with the HM library.
nixpkgsLib: let
mkNvimLib = import ./.;
in
2023-07-30 21:25:23 +02:00
nixpkgsLib.extend (self: super: {
2023-02-06 19:57:35 +01:00
nvim = mkNvimLib {lib = self;};
})