-
-
Notifications
You must be signed in to change notification settings - Fork 973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add nix shell support #599
Conversation
Add comment on Nix integration Add comment on Nix integration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks alright and would probably work in 99% of cases, only potential issue I see is that the nix shell may override an active virtualenv (if it's possible for them to be active at the same time).
Would be nice to have a way to disable this. |
|
|
We don't have anything like this for virtualenvs 🤔, we simply respect the user option of Is there any similar mechanism for nix shell that we could piggy-back on? We'd like to avoid adding a new configuration option for this. |
No, there is no such logic to piggyback on. |
I don't use virtualenv so I didn't know this, I assumed it was something specific to pure.
My use case is quite simple: I don't like this and I want to disable it. IMO the proposed solution to unset a variable that wasn't set by pure is unsatisfactory. If I have some other script that relies on |
I 100% agree. I've not been personally able to evaluate how nix shell can/is used since this is pretty much the first I've heard of it. Obviously if it's something that's enabled 24/7, then displaying the (excess) information is not ideal. Would it make senses to never display If we were to add a configuration option for this, perhaps it could be added as a |
I don't want to bore you with the details but I don't use
That would work for me. |
* upstream/main: Remove $ prompts from install commands (sindresorhus#607) 1.17.2 Improve Apple Silicon compatibility (sindresorhus#606) 1.17.1 Do not show hostname when running in GitHub Codespaces (sindresorhus#604) Fix version bumping script (sindresorhus#602) Add another sponsor to the readme 1.17.0 Add nix shell support (sindresorhus#599) Add Homebrew install instructions (sindresorhus#591) Update info about Fish port (sindresorhus#586) Remove antigen and antibody from instruction (sindresorhus#581) Update a link
nix-shell is something similar to python virtual env but more powerful, this patchset adds support for it.