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

This commit is contained in:
sinavir 2024-04-12 22:59:46 +02:00
parent 9f2165abc8
commit 9826a7d8a3
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
ENDPOINT=${ATTIC_ENDPOINT:-https://cachix.dgnum.eu}
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
@attic@/bin/attic login dgnum "$ENDPOINT"
@attic@/bin/attic use dgnum:infra