···250250# If --repair is given, don't try to use the Nix daemon, because the
251251# flag can only be used directly.
252252if [ -z "$repair" ] && systemctl show nix-daemon.socket nix-daemon.service | grep -q ActiveState=active; then
253253- export NIX_REMOTE=${NIX_REMOTE:-daemon}
253253+ export NIX_REMOTE=${NIX_REMOTE-daemon}
254254fi
255255256256