Mic92/nixos-shell

warning message about programs.bash.enable

ryantm opened this issue · 3 comments

When I run nixos-shell, I get this warning message:

trace: warning: The option definition `programs.bash.enable' in `/home/ryantm/.nix-profile/share/nixos-shell/nixos-shell.nix' no longer has any effect; please remove it.                                          
Mic92 commented

cc @dermetfan

we could drop the option if SHELL == "bash":

programs.${shell}.enable = mkVMDefault true;

Mic92 commented

does this fix your problem? #7

Yes, this fixes it.