fix(cache): Fix weird message when using cache command
All checks were successful
build configuration / build_vault01 (push) Successful in 1m8s
build configuration / build_rescue01 (push) Successful in 1m6s
build configuration / build_web02 (push) Successful in 1m6s
build configuration / build_storage01 (push) Successful in 1m10s
build configuration / build_compute01 (push) Successful in 1m18s
lint / check (push) Successful in 23s
build configuration / build_web01 (push) Successful in 1m34s
build configuration / push_to_cache (push) Successful in 2m8s

This commit is contained in:
sinavir 2024-04-12 22:59:46 +02:00
parent 9f2165abc8
commit 9826a7d8a3

View file

@ -1,7 +1,7 @@
ENDPOINT=${ATTIC_ENDPOINT:-https://cachix.dgnum.eu} ENDPOINT=${ATTIC_ENDPOINT:-https://cachix.dgnum.eu}
if [ "$1" == "off" ]; then if [ "$1" == "off" ]; then
echo "Please edit $XDG_CONFIG_DIRS/nix/nix.conf to remove the cache" echo "Please edit $XDG_CONFIG_HOME/nix/nix.conf to remove the cache"
elif [ "$1" == "on" ]; then elif [ "$1" == "on" ]; then
@attic@/bin/attic login dgnum "$ENDPOINT" @attic@/bin/attic login dgnum "$ENDPOINT"
@attic@/bin/attic use dgnum:infra @attic@/bin/attic use dgnum:infra