Skip to content

Conversation

@teto
Copy link
Member

@teto teto commented Feb 18, 2025

I wanted to install the plugin directly via self.inputs.rocks-nvim.packages.${pkgs.system}.rocks-nvim but noticed this was not possible as the attribute is the lua package.
As I am not used to haskell-parts, I first thought it was not available, seems like vimPlugins and lua sets are modified via overlays instead.
The composition of overlays can be tricky, I for instance have several customizations and would like the possibility to override selectively the plugins as well via for instance rocks-nvim = thisFlake.rocks-nvim-nightly.

To be clear it's not meant to be merged as is especially as it changes the value for the default package) but rather to discuss how to expose those.

such that it can be used directly from the flake via  `self.inputs.rocks-nvim.packages.${pkgs.system}.rocks-nvim`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant