Skip to content
Discussion options

You must be logged in to vote

So in the case of the main nvim package, nixCats is copying the lua config directory to the nix store and loading it from there...

And in the case of the testnvim package, nixCats is reading the lua config directory directly from the location in the git repo, without copying it to the nix store...

Yep!

Exactly correct.

luaPath = ../../../dots/nvim;

This accepts only store paths. paths like ../../../dots/nvim are copied to the store (assuming they are within your nix config)

This is done by nix, nixCats simply checks that it is a store path first for that option.

wrapRc = false;
unwrappedCfgPath = utils.mkLuaInline "os.getenv('HOME') .. '/.nix-config/home/shared/dots/nvim'";

wrapRc = f…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@BirdeeHub
Comment options

@mettavi
Comment options

@BirdeeHub
Comment options

Answer selected by mettavi
@BirdeeHub
Comment options

@mettavi
Comment options

@BirdeeHub
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #342 on September 20, 2025 09:07.