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

Support for nix develop #27

Closed
johnrichardrinehart opened this issue Jun 22, 2021 · 4 comments
Closed

Support for nix develop #27

johnrichardrinehart opened this issue Jun 22, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@johnrichardrinehart
Copy link

First, thanks for writing this!

Issue description

I use flakes for development, mostly. nix develop is the new version of nix-shell. Can you support using zsh when nix develop is ran?

Steps to reproduce

Run nix develop with a version of nix that supports flakes.

@chisui
Copy link
Owner

chisui commented Jun 22, 2021

Similarly to #17 the new nix cli works completely differently to the old one. Supporting it would be the same as writing a new plugin. Additionally the way it handles interactive shells isn't finalized. For now I will only support nix-shell.

@chisui chisui added the enhancement New feature or request label Jun 22, 2021
@johnrichardrinehart
Copy link
Author

Fair enough. Let's say that some ambitious, intrepid nixer wanted to spin up a version of this that would work with nix develop. What projects could they consult and where in the manual/Wiki might they find information that would help them get started?

@chisui
Copy link
Owner

chisui commented Jun 23, 2021

To be honest, I just look at the c++ code and pester the people on the #nixos IRC. And a bunch of trial and error.

@johnrichardrinehart
Copy link
Author

Okay, it sounds like you and I have similar levels of knowledge. Deal. I'll try to find some time to work on this.

Thanks for zsh-nix-shell, @chisui . It's really helpful.

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

2 participants