From 3f4f0b0d3bde2a6d82f050981c51c0a72abded76 Mon Sep 17 00:00:00 2001 From: strawberry Date: Sat, 2 Mar 2024 10:59:27 -0500 Subject: [PATCH] adjust nix build script for github actions Signed-off-by: strawberry --- bin/nix-build-and-cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \