[Nix-dev] Change default shell of `nix-shell`

YCH dontdieych at gmail.com
Fri Dec 5 10:58:13 CET 2014


I use fish shell too. Thanks for reply.

-- 
YCH

On Thu, Dec 4, 2014 at 9:38 PM, Georges Dubus <georges.dubus at gmail.com> 
wrote:
> 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
> 



More information about the nix-dev mailing list