mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Merge pull request #5251 from emilazy/darwin-sandbox-rosetta-2
sandbox: allow Rosetta 2 on Darwin
This commit is contained in:
commit
d2c8eed344
1 changed files with 4 additions and 0 deletions
|
@ -97,3 +97,7 @@
|
||||||
; This is used by /bin/sh on macOS 10.15 and later.
|
; This is used by /bin/sh on macOS 10.15 and later.
|
||||||
(allow file*
|
(allow file*
|
||||||
(literal "/private/var/select/sh"))
|
(literal "/private/var/select/sh"))
|
||||||
|
|
||||||
|
; Allow Rosetta 2 to run x86_64 binaries on aarch64-darwin.
|
||||||
|
(allow file-read*
|
||||||
|
(subpath "/Library/Apple/usr/libexec/oah"))
|
||||||
|
|
Loading…
Reference in a new issue