forked from lix-project/lix
sandbox: allow pty devices
Nix now runs builds with a pseudo-terminal to enable colored build output.
This commit is contained in:
parent
7f2df903d9
commit
f6c122aaeb
|
@ -71,6 +71,12 @@
|
|||
(literal "/dev/zero")
|
||||
(subpath "/dev/fd"))
|
||||
|
||||
; Allow pseudo-terminals.
|
||||
(allow file*
|
||||
(literal "/dev/ptmx")
|
||||
(regex #"^/dev/pty[a-z]+")
|
||||
(regex #"^/dev/ttys[0-9]+"))
|
||||
|
||||
; Does nothing, but reduces build noise.
|
||||
(allow file* (literal "/dev/dtracehelper"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue