Skip to content

What is the workflow for using NixOS + venvs? #239

Answered by benlubas
MayRedwood asked this question in Q&A
Discussion options

You must be logged in to vote

Following the venv guide is a good place to start. I'm also running nixOS, and I'll say that my venvs are a little weird b/c I was also confused at first.

You definitely don't need to install anything with wrapNeovimUnstable. You just have to install some python packages (pip in a venv, or with a nix shell both seem to work, not sure about mixing the two) and then when you run python -m ipykernel install --user --name whatever the kernel should "capture" all of the available packages. My understanding is also a bit shaky tbh, but that's the behavior that I've observed so far.

Your LSP and your jupyter kernel are gonna be totally separate, running different packages. This is why I'd recomm…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MayRedwood
Comment options

@benlubas
Comment options

Answer selected by MayRedwood
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