Skip to content

Commit

Permalink
server: fix nix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed Oct 1, 2023
1 parent 6e1787f commit 94baff2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typhon/src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 94baff2

Please sign in to comment.