aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2021-11-22 14:42:31 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2021-11-22 14:42:31 -0600
commit08b1ac3e389cda2ba0947e25ea7b09ba2df4813f (patch)
tree8837f080072dbabf373b721d0e7113d8a3fe2f1d /src
parent7a71621b7c43d7d2f264cc495fb7ceb66455fd3c (diff)
Set new rosetta 2 path in sandbox
see: https://github.com/NixOS/nix/pull/5388 and https://github.com/NixOS/nix/pull/5251
Diffstat (limited to 'src')
-rw-r--r--src/libstore/sandbox-defaults.sb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/sandbox-defaults.sb b/src/libstore/sandbox-defaults.sb
index 41893e6dd..56b35c3fe 100644
--- a/src/libstore/sandbox-defaults.sb
+++ b/src/libstore/sandbox-defaults.sb
@@ -100,4 +100,5 @@
; Allow Rosetta 2 to run x86_64 binaries on aarch64-darwin.
(allow file-read*
- (subpath "/Library/Apple/usr/libexec/oah"))
+ (subpath "/Library/Apple/usr/libexec/oah")
+ (subpath "/System/Library/Apple/usr/libexec/oah"))