summary refs log tree commit diff
path: root/nixos/modules/programs/zsh/zsh.nix
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-10-14 21:19:07 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-10-14 21:19:07 +0200
commitb00a3fc6fd82834114771f2115a2b032f0ebfe29 (patch)
tree89fc00fe728afb6ecee621b600aa5fa4b41bac28 /nixos/modules/programs/zsh/zsh.nix
parent0f01f8b882627b063f00722a2a8985fcfe6a82cf (diff)
downloadnixpkgs-b00a3fc6fd82834114771f2115a2b032f0ebfe29.tar
nixpkgs-b00a3fc6fd82834114771f2115a2b032f0ebfe29.tar.gz
nixpkgs-b00a3fc6fd82834114771f2115a2b032f0ebfe29.tar.bz2
nixpkgs-b00a3fc6fd82834114771f2115a2b032f0ebfe29.tar.lz
nixpkgs-b00a3fc6fd82834114771f2115a2b032f0ebfe29.tar.xz
nixpkgs-b00a3fc6fd82834114771f2115a2b032f0ebfe29.tar.zst
nixpkgs-b00a3fc6fd82834114771f2115a2b032f0ebfe29.zip
nixos: inline set-environment for bash and zsh
Diffstat (limited to 'nixos/modules/programs/zsh/zsh.nix')
-rw-r--r--nixos/modules/programs/zsh/zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix
index 615e54c326b..97c2d14a2fd 100644
--- a/nixos/modules/programs/zsh/zsh.nix
+++ b/nixos/modules/programs/zsh/zsh.nix
@@ -107,7 +107,7 @@ in
         if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi
         export __ETC_ZSHENV_SOURCED=1
 
-        . ${config.system.build.setEnvironment}
+        ${config.system.build.setEnvironment.text}
 
         ${cfge.shellInit}