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