Files
trygo-py-cliclient/scripts/restore_cache.sh
2025-10-07 09:55:18 -05:00

17 lines
385 B
Bash

#!/usr/bin/env bash
set -Eeuo pipefail
CACHE_PATH=${CACHE_PATH:-"/tmp/nixcache"}
banner() {
echo "========================================================"
echo " $*"
echo "========================================================"
}
# banner "List what we start with"
# ls -alh "${CACHE_PATH}"
banner "Copy time"
nix copy --from "file://${CACHE_PATH}" --no-check-sigs --all