diff --git a/nix/cache.nix b/nix/cache.nix index 2d57d57..a7f659a 100644 --- a/nix/cache.nix +++ b/nix/cache.nix @@ -21,6 +21,7 @@ in writeShellApplication { ]; text = '' mc alias set storage "$STORAGE_URL" root "$MINIO_SECRET" + mkdir -p cache '' + (concatStringsSep "\n" ( map (d: '' url=$(echo var.iso.url | packer console -var-file="${distroFile d}" -config-type=hcl2 sources/)