From 03c70b48b851cbe749bc2ad137ba205bffae8bd6 Mon Sep 17 00:00:00 2001 From: Tyler Hall Date: Tue, 30 May 2023 17:50:14 -0400 Subject: [PATCH] fix(nano): add /tmp/hyper to allow-write parameters for temp file directory permissions --- images/nano/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/images/nano/Makefile b/images/nano/Makefile index 2f9bcd51..bbfc5564 100644 --- a/images/nano/Makefile +++ b/images/nano/Makefile @@ -3,24 +3,24 @@ clean: compile-linux: @deno compile --target=x86_64-unknown-linux-gnu \ - --allow-sys --allow-env --allow-read --allow-write=__hyper__ --allow-net \ + --allow-sys --allow-env --allow-read --allow-write=__hyper__,/tmp/hyper --allow-net \ --unstable --no-check=remote \ --output ./build/hyper-x86_64-unknown-linux-gnu-$(VER) mod.js compile-apple: @deno compile --target=x86_64-apple-darwin \ - --allow-sys --allow-env --allow-read --allow-write=__hyper__ --allow-net \ + --allow-sys --allow-env --allow-read --allow-write=__hyper__,/tmp/hyper --allow-net \ --unstable --no-check=remote \ --output ./build/hyper-x86_64-apple-darwin-$(VER) mod.js compile-arch-apple: @deno compile --target=aarch64-apple-darwin \ - --allow-sys --allow-env --allow-read --allow-write=__hyper__ --allow-net \ + --allow-sys --allow-env --allow-read --allow-write=__hyper__,/tmp/hyper --allow-net \ --unstable --no-check=remote \ --output ./build/hyper-aarch64-apple-darwin-$(VER) mod.js compile-windows: @deno compile --target=x86_64-pc-windows-msvc \ - --allow-sys --allow-env --allow-read --allow-write=__hyper__ --allow-net \ + --allow-sys --allow-env --allow-read --allow-write=__hyper__,/tmp/hyper --allow-net \ --unstable --no-check=remote \ --output ./build/hyper-x86_64-pc-windows-msvc-$(VER) mod.js