diff --git a/bin/nix-build-and-cache b/bin/nix-build-and-cache index 38fef33c..65b1913f 100755 --- a/bin/nix-build-and-cache +++ b/bin/nix-build-and-cache @@ -8,7 +8,7 @@ INSTALLABLE="$1" # Build the installable and forward any other arguments too nix build -L "$@" -if [ ! -z ${ATTIC_TOKEN+x} ]; then +if [ ! -z "$ATTIC_TOKEN" ]; then nix run --inputs-from . attic -- login \ conduit \