0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos: inline set-environment for bash and zsh

This commit is contained in:
Daiderd Jordan 2017-10-14 21:19:07 +02:00
parent 0f01f8b882
commit b00a3fc6fd
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ in
programs.bash = { programs.bash = {
shellInit = '' shellInit = ''
. ${config.system.build.setEnvironment} ${config.system.build.setEnvironment.text}
${cfge.shellInit} ${cfge.shellInit}
''; '';

View file

@ -107,7 +107,7 @@ in
if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi
export __ETC_ZSHENV_SOURCED=1 export __ETC_ZSHENV_SOURCED=1
. ${config.system.build.setEnvironment} ${config.system.build.setEnvironment.text}
${cfge.shellInit} ${cfge.shellInit}