Nix Python workspace template for modern IDEs, without virtualenv
Install direnv
- Copy all these files to your workspace
- Add requirements in
py_requirements.nix
. Modify python version inshell.nix
- Enable
direnv
for your workspace (usingdirenv allow .
) - run
nix-shell
to generate the symlinks
- Enable direnv plugin
- Choose correct python interpreter