Skip to content

How to use magma-nvim with python modules? #702

Closed Answered by b-m-f
b-m-f asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to get this working by rebuilding the plugin in my local config and injecting the necessary libraries.
You can follow this guide https://github.com/NixOS/nixpkgs/blob/nixos-23.05/doc/languages-frameworks/vim.section.md#what-if-your-favourite-vim-plugin-isnt-already-packaged-what-if-your-favourite-vim-plugin-isnt-already-packaged

and the original build config is here: https://github.com/NixOS/nixpkgs/blob/9fb122519e9cd465d532f736a98c1e1eb541ef6f/pkgs/applications/editors/vim/plugins/overrides.nix#L673

Then you can simply use this as the package for the plugin with plugins.magma-nvim.package = YOUR_PACKAGE

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@GaetanLepage
Comment options

Answer selected by b-m-f
Comment options

You must be logged in to vote
0 replies
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