adjust nix build script for github actions

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-02 10:59:27 -05:00 committed by June
parent dd57ce7d0c
commit 3f4f0b0d3b

View file

@ -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 \