Repository navigation
feat(nixvim): add the nixvim integration - #100
Merged
Merged
Conversation
This was referenced Oct 17, 2026
clhodapp
force-pushed
the
feat/nixvim
branch
2 times, most recently
from
October 18, 2026 08:25
01bdb13 to
8c8ace7
Compare
A nixvim configuration is a Neovim written as nixvim modules, evaluated at every system in force on the selected package set. caisson makes the evaluation `evalNixvim` makes, `evalModules` over `modules/top-level` with the flake as `flake`, on the composed library extended with the overlay nixvim publishes and with `nixpkgs.pkgs` set to the selected package set. The output `package` is the Neovim; the configuration is published as `nixvimConfigurations.<system>.<name>`, where nixvim's flake publishes its own. The pinned-world suite checks the package is the derivation `evalNixvim` builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
caisson.nixvim. This PR is based on #99 in the GitHub stack.A nixvim configuration is a Neovim written as nixvim modules. It is evaluated per system, once for each system in force, on the selected package set.
nixvim's public
evalNixvimrunsevalModulesovermodules/top-level, on a library that carrieslib.nixvim, which the nixvim flake adds through its publishedlib.overlay. caisson makes the same evaluation on the composed library extended with that overlay. As for nvf, the composed library is laid back over the extension. The nixvim flake is passed asflakeandnixpkgs.pkgsis set to the selected package set.ecosystemSrcis the nixvim flake, resolved under the namenixvim.The output
packageisconfig.build.package. The configuration is published asnixvimConfigurations.<system>.<name>, the name the nixvim flake uses for its own configurations. The pinned-world test checks that the package is the derivationevalNixvimbuilds from the same module and package set.Checks
nix flake checkpasses, the eval-weight check included.🤖 Generated with Claude Code