add attic back in #1

Merged
ahuston-0 merged 22 commits from feature/attic into main 2025-01-26 13:28:26 -05:00
Showing only changes of commit b794dbda7b - Show all commits

View File

@ -1,8 +1,8 @@
#!/usr/bin/env nix
#! nix shell nixpkgs#bash nixpkgs#jq nixpkgs#gnused nixpkgs#nixVersions.latest nixpkgs#attic-client --command bash
set -x
set -v
#set -x
#set -v
set -e
# retrieve all paths under 100M
@ -12,7 +12,7 @@ nix_paths=$(nix path-info --json --all --closure-size \
readarray -t nix_path_array < <(echo "$nix_paths")
batchsize=10
batchsize=1000
for((i=0; i < ${#nix_path_array[@]}; i+=batchsize))
do