summaryrefslogtreecommitdiff
path: root/modules/programs
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-03-11 22:30:15 +0100
committerDaiderd Jordan <daiderd@gmail.com>2017-03-11 22:30:15 +0100
commit338a4e85cc2aa58e29887ab31e99f8928eb8cde1 (patch)
treed4cd15f073a010a0e93b37bb07eaf6c0bba47409 /modules/programs
parent707cdd517b3e8834e7e134f8920605443b520ea8 (diff)
programs-bash: use bashInteractive
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/bash.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix
index 081e083..13fdaa8 100644
--- a/modules/programs/bash.nix
+++ b/modules/programs/bash.nix
@@ -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";