From ff31288530e0629734ce2cc46e368027d08be042 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Wed, 26 Jun 2024 22:09:54 -0500 Subject: [PATCH] Create director before using --- nix/cache.nix | 1 + 1 file changed, 1 insertion(+) 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/)