about summary refs log tree commit diff
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2015-11-01T05·21-0400
committerShea Levy <shea@shealevy.com>2015-11-01T05·21-0400
commit85aeedb9bce365a8eef09a88f0e47c8fd4b21128 (patch)
treeaade748e64c120b1a999140e6a2267d574e0b414
parent9a963c8adc131c63d940f8761e1d4554a163d59c (diff)
parentd6bd51ffbe1a88181392271c98cbbd1fb6b16037 (diff)
Merge https://github.com/pikajude/nix
> As far as I can tell, the CoreFoundation function CFNumberFormatterCopyProperty segfaults if the
> directory added in this pull request is not readable. This change allows openjdk-darwin to build in
> the sandbox.
-rw-r--r--src/libstore/sandbox-defaults.sb.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/sandbox-defaults.sb.in b/src/libstore/sandbox-defaults.sb.in
index 702f05602bd0..9993f998d161 100644
--- a/src/libstore/sandbox-defaults.sb.in
+++ b/src/libstore/sandbox-defaults.sb.in
@@ -11,7 +11,8 @@
        (literal "/private/etc/protocols")
        (literal "/private/var/tmp")
        (literal "/private/var/db")
-       (subpath "/private/var/db/mds"))
+       (subpath "/private/var/db/mds")
+       (subpath "/usr/share/icu"))
 
 (allow file-write*
        (literal "/dev/tty")