Open jmgilman opened 2 months ago
For what it's worth, adding both packages to home-manager
does not reproduce this issue. So I doubt it's something with the individual packages or Nix itself.
I think this is related to #2031 -- the global PYTHONPATH is somehow getting set, which is breaking the isolation between individual python packages.
What happened?
I have
awscli2
installed on my system viahome-manager
. It works just fine. However, after starting a devbox shell, it begins throwing an error anytime I execute it:If I disable the shell, it will immediately work again. I removed every package in the
devbox.json
and tried again and found it worked. I was able to systematically deduce that thepyinfra
package was the culprit. Withawscli2
andpyinfra
in the same devbox shell, the AWS CLI will break.From my understanding, this shouldn't happen within Nix as the two packages should be scoped independently. In other words, they should share no dependencies and have no way to impact each other. Is devbox doing something weird here that would break this isolation?
Steps to reproduce
pyinfra
andawscli2
packagesCommand
No response
devbox.json
Devbox version
0.10.6
Nix version
2.21.2
What system does this bug occur on?
Linux (x86-64)
Debug logs
N/A