-
Notifications
You must be signed in to change notification settings - Fork 17
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
nix develop
(flake) support ?
#12
Comments
I guess this line needs to be modified: https://github.com/haslersn/any-nix-shell/blob/master/bin/any-nix-shell#L15 |
This indeed fixes it for fish:
The zsh code would need a similar modification. It displays "[unknown environment]" at the right of the shell prompt though. |
How about making a pull request ? |
|
@sbourdeauducq is right. I'm working on it. |
@drupol It seems in Nix 2.4 they reintroduced |
Unfortunately
Ah yes - that would make sense... |
On my side, I found a workaround: |
FYI |
Unable to build it, doesn't look like the maintainer is taking care of the it anymore. |
You can get the latest release from Nixpkgs: λ nix build nixpkgs#nix-your-shell
λ ./result/bin/nix-your-shell --version
nix-your-shell 1.1.1 |
Hello,
I'm switching my projects and use more and more flakes.
When I do
nix develop
, it starts a bash shell instead of continue to use my current shell on fish.Do you think it's possible to use
any-nix-shell
so it works withnix develop
?The text was updated successfully, but these errors were encountered: