diff options
author | Alex James <git@alextjam.es> | 2024-09-22 23:07:21 (GMT) |
---|---|---|
committer | Alex James <git@alextjam.es> | 2024-09-23 17:40:49 (GMT) |
commit | 2d5e3a40a613225b329776ab9dbd9abcd2d24222 (patch) | |
tree | ed4764fd14daa45aeefcc0e028cde969d7dc50dc /RELEASE.txt | |
parent | 5404eb70cc02bd5697b0274e5632be41436737f8 (diff) | |
download | SCons-2d5e3a40a613225b329776ab9dbd9abcd2d24222.zip SCons-2d5e3a40a613225b329776ab9dbd9abcd2d24222.tar.gz SCons-2d5e3a40a613225b329776ab9dbd9abcd2d24222.tar.bz2 |
Handle permission errors while generating paths on Darwin
On Darwin, Nix may invoke SCons in a sandbox which lacks access to
/etc/paths.d. Handle PermissionError while iterating through
/etc/paths.d to support sandboxed environments such as Nix.
Diffstat (limited to 'RELEASE.txt')
-rw-r--r-- | RELEASE.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/RELEASE.txt b/RELEASE.txt index 06a726e..1ccc056 100644 --- a/RELEASE.txt +++ b/RELEASE.txt @@ -46,6 +46,10 @@ FIXES - Fix a problem with compilation_db component initialization - the entries for assembler files were not being set up correctly. +- On Darwin, PermissionErrors are now handled while trying to access + /etc/paths.d. This may occur if SCons is invoked in a sandboxed environment + (such as Nix). + IMPROVEMENTS ------------ |