1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-21 17:59:41 +01:00
nixvim/flake
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
..
dev flake/dev/flake.lock: Update 2025-11-19 12:24:42 +00:00
flake-modules flake/auto: nameFunction default to lib.id 2025-01-20 15:11:39 +00:00
ci.nix flake/ci: fix lazy eval of dev partition 2025-07-08 17:12:15 +00:00
default.nix dev/list-plugins: drop 2025-11-06 13:53:54 +00:00
legacy-packages.nix flake: add nixvimConfigurations flake-parts module 2025-01-19 17:47:17 +00:00
lib.nix lib: simplify bootstrapping 2025-11-20 20:57:10 +00:00
nixvim-configurations.nix flake: add nixvimConfigurations flake-parts module 2025-01-19 17:47:17 +00:00
overlays.nix flake: add nixf-diagnose to treefmt config 2025-10-01 00:42:40 +00:00
packages.nix docs: refactor serve-docs; add nix run .#docs 2025-05-22 13:48:58 +01:00
templates.nix flake: partition dev dependencies 2025-02-23 17:23:57 +00:00
wrappers.nix flake: add nixf-diagnose to treefmt config 2025-10-01 00:42:40 +00:00