Replies: 2 comments
-
|
The As an alternative, you could set a shell alias or wrapper script that always passes |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Converted to issue #3860 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am experimenting with nixos (opinions yet to be formed). I am using micromamba to set up environments, which is working well. However, to make micromamba happy on nixos I need to pass through the
NIX_LDandNIX_LD_LIBRARY_PATHenvironment variables. If I do this in my projects tox.ini file like so:it works fine.
What I would like to know is if there is a way for me to configure my system to always pass these through for all my tox runs. I have tried to make a user config file:
but that didn't work.
I also tried this:
Which looked hopeful but didn't actually pass the env through. Setting
TOX_OVERRIDE="testenv:.pkg.pass_env+=NIX_LD,NIX_LD_LIBRARY_PATH"didn't seem to work either in reality or in the output oftox config.Are there any other ways I can do this? or is any of this not working a bug? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions