You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The official Python extension does not pickup the environment provided by the shell.nix.
e.g. my nix-shell has black formatter and flake8 in buildInputs, which I can call from the command line after nix-shell, but VS Code still tells me that black and flake8 are not installed.
To Reproduce
Steps to reproduce the behavior:
Create poetry project, e.g. nix-shell -p poetry then poetry init && poetry add -D black
Describe the bug
The official Python extension does not pickup the environment provided by the
shell.nix
.e.g. my nix-shell has
black
formatter andflake8
in buildInputs, which I can call from the command line afternix-shell
, but VS Code still tells me thatblack
andflake8
are not installed.To Reproduce
Steps to reproduce the behavior:
nix-shell -p poetry
thenpoetry init && poetry add -D black
black
(in VS CodeShift+Alt+F
, after setting"python.formatting.provider": "black"
in settings)Expected behavior
VS Code should pickup black from my nix shell
Environment:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: