1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

programs-bash: use bashInteractive

This commit is contained in:
Daiderd Jordan 2017-03-11 22:30:15 +01:00
parent 707cdd517b
commit 338a4e85cc
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -6,13 +6,13 @@ let
cfg = config.programs.bash;
shell = pkgs.runCommand pkgs.zsh.name
shell = pkgs.runCommand pkgs.bashInteractive.name
{ buildInputs = [ pkgs.makeWrapper ]; }
''
source $stdenv/setup
mkdir -p $out/bin
makeWrapper ${pkgs.bash}/bin/bash $out/bin/bash
makeWrapper ${pkgs.bashInteractive}/bin/bash $out/bin/bash
'';
in
@ -42,7 +42,7 @@ in
environment.systemPackages =
[ # Include bash package
pkgs.bash
pkgs.bashInteractive
];
environment.loginShell = mkDefault "${shell}/bin/bash -l";