fix(cache): Fix weird message when using cache command

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