Unverified Commit 43f45fe2 authored by Lin Jian's avatar Lin Jian
Browse files

zsh: fix the guard variable for /etc/set-environment

This guard variable is written to $out/etc/zshenv using
here-documents, so we need to escape it.
parent 4929fad3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ if test -e /etc/NIXOS; then
  else
    emulate bash
    alias shopt=false
    if [ -z "$__NIXOS_SET_ENVIRONMENT_DONE" ]; then
    if [ -z "\$__NIXOS_SET_ENVIRONMENT_DONE" ]; then
      . /etc/set-environment
    fi
    unalias shopt