diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2021-11-22 14:42:31 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2021-11-22 14:42:31 -0600 |
commit | 08b1ac3e389cda2ba0947e25ea7b09ba2df4813f (patch) | |
tree | 8837f080072dbabf373b721d0e7113d8a3fe2f1d | |
parent | 7a71621b7c43d7d2f264cc495fb7ceb66455fd3c (diff) |
Set new rosetta 2 path in sandbox
see:
https://github.com/NixOS/nix/pull/5388
and
https://github.com/NixOS/nix/pull/5251
-rw-r--r-- | src/libstore/sandbox-defaults.sb | 3 |
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")) |