File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1111### Added
1212
1313- Nix store access to the default sandbox
14+ - Mac OS's Library/Java/JavaVirtualMachines paths to the dependency parsing sandbox
1415
1516### Fixed
1617
Original file line number Diff line number Diff line change @@ -473,6 +473,14 @@ fn depfile_parsing_sandbox(canonical_manifest_path: &Path) -> Result<Birdcage> {
473473 & mut birdcage,
474474 Exception :: ExecuteAndRead ( "/etc/alternatives" . into ( ) ) ,
475475 ) ?;
476+ permissions:: add_exception (
477+ & mut birdcage,
478+ Exception :: ExecuteAndRead ( "/Library/Java/JavaVirtualMachines" . into ( ) ) ,
479+ ) ?;
480+ permissions:: add_exception (
481+ & mut birdcage,
482+ Exception :: ExecuteAndRead ( home. join ( "Library/Java/JavaVirtualMachines" ) ) ,
483+ ) ?;
476484 permissions:: add_exception ( & mut birdcage, Exception :: ExecuteAndRead ( "/etc/maven" . into ( ) ) ) ?;
477485 for jdk_path in jdk_paths ( ) ? {
478486 permissions:: add_exception ( & mut birdcage, Exception :: Read ( jdk_path) ) ?;
You can’t perform that action at this time.
0 commit comments