[Nix-dev] Change default shell of `nix-shell`
Georges Dubus
georges.dubus at gmail.com
Thu Dec 4 13:38:51 CET 2014
I use fish, with is not compatible at all with bash, and will make anything
crash if set as the default shell for anything on nixos.
To use it with nix-shell, I just wrote an alias: nix-fish="nix-shell
--command=fish"
Georges Dubus
2014-12-04 9:49 GMT+01:00 Luca Bruno <lethalman88 at gmail.com>:
> On 04/12/2014 08:12, YCH wrote:
> > Hello,
> >
> > How could I change default shell(command) of `nix-shell`?
> >
> > Thanks.
> >
> Try NIX_BUILD_SHELL=... nix-shell
>
> However take in mind that most packages in nixpkgs assume bash.
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141204/bbd48b46/attachment.html
More information about the nix-dev
mailing list