diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2018-01-20 01:34:45 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2018-01-20 01:34:45 +0100 |
| commit | 630ab79197166b126bc8db1ceee73a6938ded449 (patch) | |
| tree | c77c445857143c5c317ee57f6449e46165efee91 /modules/programs | |
| parent | abd9a7c2feb1034bdc217b75c7b5ea024560d8a1 (diff) | |
bash: remove shell wrapper
Diffstat (limited to 'modules/programs')
| -rw-r--r-- | modules/programs/bash.nix | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix index ee13377..0e116ae 100644 --- a/modules/programs/bash.nix +++ b/modules/programs/bash.nix @@ -3,18 +3,7 @@ with lib; let - cfg = config.programs.bash; - - shell = pkgs.runCommand pkgs.bashInteractive.name - { buildInputs = [ pkgs.makeWrapper ]; } - '' - source $stdenv/setup - - mkdir -p $out/bin - makeWrapper ${pkgs.bashInteractive}/bin/bash $out/bin/bash - ''; - in { @@ -56,8 +45,8 @@ in "/share/bash-completion/completions" ]; - environment.loginShell = mkDefault "${shell}/bin/bash -l"; - environment.variables.SHELL = mkDefault "${shell}/bin/bash"; + environment.loginShell = mkDefault "bash -l"; + environment.variables.SHELL = mkDefault "${pkgs.bashInteractive}/bin/bash"; environment.etc."bashrc".text = '' # /etc/bashrc: DO NOT EDIT -- this file has been generated automatically. |
