Closed spacekookie closed 2 years ago
Update of nix
or update of any-nix-shell
? Which version of Nix are you using?
Unfortunately, it seems that in nix run
they actually hardcoded bash
(see here).
Surely that line means that simply setting SHELL=fish
should be sufficient?
unfortunately the change to look at $SHELL was only added in nixos/nix@9d04b5da17898fd564308423bc7d10fc929efe18, which is not yet in a released nix version afaict
@spacekookie Does #13 fix this issue for you?
@spacekookie We are waiting for feedback in order to merge #13, could you confirm it works?
Hey! Sorry for the long delay in response. #13 does indeed fix my problem :) Thank you
With the last update
nix run -f '<nixpkgs>' hello
will no longer use the fish shell, but rather default to bash.