nix-community.nixvim/lib
Matt Sturgeon 4b7a41276a
modules/nixpkgs: initial pkgs option, drop defaultPkgs specialArg
This minimal implementation allows `nixpkgs.pkgs` to be defined, but
does not implement evaluating an instance from a pkgsPath when _not_
defined.

The `defaultPkgs` specialArg is dropped in favour of `nixpkgs.pkgs`
being defined. If it's not defined, an assertion is thrown.

In the future, a nixpkgs source path can be supplied, defaulting to the
flake's `inputs.nixpkgs`. Along with other `nixpkgs.*` options, this
will allow a `pkgs` instance to be evaluated within the module eval.
2024-09-27 09:30:12 +01:00
..
autocmd-helpers.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
builders.nix lib: segregate and deprecate functions that need pkgs 2024-09-13 19:05:26 +01:00
default.nix modules/nixpkgs: initial pkgs option, drop defaultPkgs specialArg 2024-09-27 09:30:12 +01:00
deprecation.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
extend-lib.nix lib: use lib.fix and self internally 2024-09-13 17:25:17 +01:00
keymap-helpers.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
maintainers.nix maintainers: add ZainKergaye 2024-09-27 02:18:51 -06:00
modules.nix modules/nixpkgs: initial pkgs option, drop defaultPkgs specialArg 2024-09-27 09:30:12 +01:00
neovim-plugin.nix lib: remove nixvimTypes alias 2024-09-27 08:31:07 +01:00
options.nix lib: add types.flagInt + defaultNullOpts.mkIntFlag 2024-09-08 12:54:30 +01:00
pkg-lists.nix lib/pkg-lists: move to common location 2024-09-04 20:29:52 +01:00
tests.nix modules/nixpkgs: initial pkgs option, drop defaultPkgs specialArg 2024-09-27 09:30:12 +01:00
to-lua.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
types.nix lib/types/pluginLuaConfig: use lib.optional instead of lib.mkIf 2024-09-23 20:08:52 +01:00
utils.nix lib/neovim-plugin: Add lua configuration scoped to the plugin 2024-09-22 16:15:27 +00:00
vim-plugin.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00