Skip to content
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

Detect nix shell (in addition to nix-shell) #542

Open
dudeofawesome opened this issue Nov 17, 2024 · 0 comments
Open

Detect nix shell (in addition to nix-shell) #542

dudeofawesome opened this issue Nov 17, 2024 · 0 comments
Labels
🌊 enhancement New feature or request

Comments

@dudeofawesome
Copy link

The nix_shell item currently detects whether it is inside a nix shell by looking at IN_NIX_SHELL, but that var is not set when using the new nix command's nix shell.

Some discussion in that issue talks about searching for nix store entries in PATH (which is summarized here).

I think Tide should adopt a similar strategy for detecting nix shell usage as well.

Prior art:

@dudeofawesome dudeofawesome added the 🌊 enhancement New feature or request label Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌊 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant