1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-21 17:59:41 +01:00
nixvim/lib
Matt Sturgeon c53e0161c3 lib: simplify bootstrapping
Previously, `lib/top-level.nix` used an `_isExtended` flag to indicate
whether the provided `lib` was already extended. This made bootstrapping
unclear and introduced the possibility of circular construction.

All construction now flows through the lib-overlay, removing
`_isExtended`. As a result, `lib/top-level.nix` always receives the
final extended lib.

The `<flake>.lib.nixvim` output is now defined as:

    (lib.extend <nixvim>.lib.overlay).nixvim

The overlay now imports `top-level.nix` directly, making it the
canonical entrypoint for constructing Nixvim's section of the lib.

A clarifying doccomment was added to `lib/top-level.nix`.
2025-11-20 20:57:10 +00:00
..
plugins lib/plugins: infer packPathName 2025-09-27 23:49:59 +00:00
autocmd-helpers.nix lib: remove helpers from internal usage 2024-09-29 14:41:41 +01:00
builders.nix lib/builders: pass text as file 2025-06-11 23:45:05 +00:00
deprecation.nix lib/deprecation: implement aliases for mkRemovedPackageOptionModule 2025-04-15 22:15:18 +01:00
keymap-helpers.nix modules/keymaps: add replace_keycodes keymap sub-option 2025-03-28 11:32:49 +01:00
lua-types.nix lib/lua-types: init 2025-06-04 09:07:48 +00:00
maintainers.nix maintainers: add phinze 2025-11-14 22:10:52 +00:00
modules.nix lib/evalNixvim: deprecate specialArgs.helpers 2025-11-19 15:22:27 +00:00
options.nix lib/options (mkSettingsOption): allow more types for settingsOption when no sub-options are explicitly declared 2025-10-24 10:28:17 +00:00
overlay.nix lib: simplify bootstrapping 2025-11-20 20:57:10 +00:00
pkg-lists.nix lib/pkg-lists: move to common location 2024-09-04 20:29:52 +01:00
tests.nix lib: move enableExceptInTests impl to build.test option 2025-11-20 00:22:57 +00:00
to-lua.nix lib/util: move docs from lib/index to doc-comments 2025-05-19 00:23:21 +01:00
top-level.nix lib: simplify bootstrapping 2025-11-20 20:57:10 +00:00
types.nix lib/types: allow inline-lua in rawLua type 2024-11-16 17:20:11 +00:00
utils.internal.nix lib/utils: split into public and internal files 2025-05-19 00:23:20 +01:00
utils.nix lib: move enableExceptInTests impl to build.test option 2025-11-20 00:22:57 +00:00