diff options
author | Shea Levy <shea@shealevy.com> | 2015-10-31T06·44-0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2015-10-31T06·44-0400 |
commit | 9a963c8adc131c63d940f8761e1d4554a163d59c (patch) | |
tree | 55a3b55ecadd3f2b7325da932ce039c53bb428ea /src/libstore | |
parent | b83fb35f7947e25124ec733422a7479d5975eccf (diff) | |
parent | 95c66cc95058b9a918dbd1ef756b9da6abdd7eee (diff) |
Merge branch 'master' of git://github.com/pikajude/nix
@pikajude: "This is required for perlPackages.IOTty and, by extension, mosh"
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/sandbox-defaults.sb.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstore/sandbox-defaults.sb.in b/src/libstore/sandbox-defaults.sb.in index 12c39fa7f217..702f05602bd0 100644 --- a/src/libstore/sandbox-defaults.sb.in +++ b/src/libstore/sandbox-defaults.sb.in @@ -35,7 +35,10 @@ (literal "/private/var/run/resolv.conf")) ; some builders use filehandles other than stdin/stdout -(allow file* (subpath "/dev/fd")) +(allow file* + (subpath "/dev/fd") + (literal "/dev/ptmx") + (regex #"^/dev/[pt]ty.*$")) ; allow everything inside TMP (allow file* process-exec |