Skip to content

Conversation

@bobvanderlinden
Copy link
Contributor

@bobvanderlinden bobvanderlinden commented May 4, 2023

Currently when using python, the PYTHONPATH always contains the literal string $DEVENV_PROFILE. This is incorrect, as the variable is not resolved.

In addition, it would be nice to add to any PYTHONPATH that is already there, just like we're doing with PATH.

I've added a test that fails in the current implementation and succeeds with the patch.

@domenkozar domenkozar merged commit 34ecd62 into cachix:main May 4, 2023
@bobvanderlinden bobvanderlinden deleted the pr-pythonpath-fix branch May 4, 2023 15:17
anoadragon453 referenced this pull request May 7, 2023
This fixes an infinite recursion error that originated as a result of
trying to set an environment variable using the output of another
environment variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants