From 338a4e85cc2aa58e29887ab31e99f8928eb8cde1 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sat, 11 Mar 2017 22:30:15 +0100 Subject: [PATCH] programs-bash: use bashInteractive --- modules/programs/bash.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix index 081e0832..13fdaa80 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";