diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2018-01-20 01:32:33 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2018-01-20 01:32:33 +0100 |
| commit | abd9a7c2feb1034bdc217b75c7b5ea024560d8a1 (patch) | |
| tree | ad2915db4d6b91c0cbc2bdc1bf408d4d9e9a64bf /modules/programs/zsh | |
| parent | 1b8e3d3aeb45dce498f0e85e800a26174c1e32e2 (diff) | |
zsh: remove shell wrapper
Diffstat (limited to 'modules/programs/zsh')
| -rw-r--r-- | modules/programs/zsh/default.nix | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/modules/programs/zsh/default.nix b/modules/programs/zsh/default.nix index ee22a2b..6e84389 100644 --- a/modules/programs/zsh/default.nix +++ b/modules/programs/zsh/default.nix @@ -11,15 +11,6 @@ let fzfCompletion = ./fzf-completion.zsh; fzfGit = ./fzf-git.zsh; fzfHistory = ./fzf-history.zsh; - - shell = pkgs.runCommand pkgs.zsh.name - { buildInputs = [ pkgs.makeWrapper ]; } - '' - source $stdenv/setup - - mkdir -p $out/bin - makeWrapper ${pkgs.zsh}/bin/zsh $out/bin/zsh - ''; in { @@ -114,8 +105,8 @@ in environment.pathsToLink = [ "/share/zsh" ]; - environment.loginShell = "${shell}/bin/zsh -l"; - environment.variables.SHELL = "${shell}/bin/zsh"; + environment.loginShell = "zsh -l"; + environment.variables.SHELL = "${pkgs.zsh}/bin/zsh"; environment.etc."zshenv".text = '' # /etc/zshenv: DO NOT EDIT -- this file has been generated automatically. |
