From eb27da3804addf95c5563e518fa736983c7d0c6e Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 1 Apr 2025 23:07:48 -0500 Subject: [PATCH] Give a disk-backed temp directory --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index d74d5c1..f46e1bb 100644 --- a/flake.nix +++ b/flake.nix @@ -101,6 +101,7 @@ if [ -e "''${PACKER_CONFIG_DIR}" ]; then find "''${PACKER_CONFIG_DIR}" -name '*_linux_amd64' -exec chmod +x '{}' ";" fi + export TMPDIR=/var/tmp packer init sources packer build -only=${d.provider}.${d.arch} -var-file=${distroFile d} ${args} sources/ '';