From 94baff2280ee63cbb058e076bac78e5556bfe9a0 Mon Sep 17 00:00:00 2001 From: Paul-Nicolas Madelaine Date: Sun, 1 Oct 2023 15:43:08 +0200 Subject: [PATCH] server: fix nix warning --- typhon/src/actions.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/typhon/src/actions.rs b/typhon/src/actions.rs index e17b9b81..d0e80ef8 100644 --- a/typhon/src/actions.rs +++ b/typhon/src/actions.rs @@ -40,6 +40,7 @@ mod sandboxed_command { .args(["--proc", "/proc"]) .args(["--dev", "/dev"]) .args(["--ro-bind", "/nix/store", "/nix/store"]) + .args(["--ro-bind", "/nix/var/nix", "/nix/var/nix"]) .args(["--ro-bind", "/etc/resolv.conf", "/etc/resolv.conf"]) .args(["--ro-bind", "/etc", "/etc"]) // TODO: why do I need that .arg("--unshare-pid");