37 lines
688 B
Diff
37 lines
688 B
Diff
diff --git a/windmill-worker/nsjail/run.python3.config.proto b/windmill-worker/nsjail/run.python3.config.proto
|
|
index b49b9cfbf..35241bbd0 100644
|
|
--- a/windmill-worker/nsjail/run.python3.config.proto
|
|
+++ b/windmill-worker/nsjail/run.python3.config.proto
|
|
@@ -18,16 +18,24 @@ keep_caps: false
|
|
keep_env: true
|
|
mount_proc: true
|
|
|
|
+mount {
|
|
+ src: "/nix/store"
|
|
+ dst: "/nix/store"
|
|
+ is_bind: true
|
|
+}
|
|
+
|
|
mount {
|
|
src: "/bin"
|
|
dst: "/bin"
|
|
is_bind: true
|
|
+ mandatory: false
|
|
}
|
|
|
|
mount {
|
|
src: "/lib"
|
|
dst: "/lib"
|
|
is_bind: true
|
|
+ mandatory: false
|
|
}
|
|
|
|
|
|
@@ -43,6 +51,7 @@ mount {
|
|
src: "/usr"
|
|
dst: "/usr"
|
|
is_bind: true
|
|
+ mandatory: false
|
|
}
|
|
|
|
mount {
|