forked from lix-project/lix
fix(libstore): allow Nix to access all Rosetta 2 paths on MacOS
Fixes: #5884
This commit is contained in:
parent
59764eb842
commit
b88fb50e21
|
@ -98,7 +98,9 @@
|
||||||
(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 Rosetta 2 to run x86_64 binaries on aarch64-darwin (and vice versa).
|
||||||
(allow file-read*
|
(allow file-read*
|
||||||
(subpath "/Library/Apple/usr/libexec/oah")
|
(subpath "/Library/Apple/usr/libexec/oah")
|
||||||
(subpath "/System/Library/Apple/usr/libexec/oah"))
|
(subpath "/System/Library/Apple/usr/libexec/oah")
|
||||||
|
(subpath "/System/Library/LaunchDaemons/com.apple.oahd.plist")
|
||||||
|
(subpath "/Library/Apple/System/Library/LaunchDaemons/com.apple.oahd.plist"))
|
||||||
|
|
Loading…
Reference in a new issue