Make docs system lib writable for package user

This commit is contained in:
Nick Sweeting 2026-07-25 13:47:29 -07:00
parent 299916c319
commit af9c251c4b
No known key found for this signature in database

View File

@ -383,6 +383,9 @@ def run_snippets(snippet_ids: tuple[str, ...]) -> None:
"ABXPKG_LIB_DIR": str(temp_dir / "system-lib"),
},
)
system_lib_dir = Path(snippet_env["ABXPKG_LIB_DIR"])
system_lib_dir.mkdir(exist_ok=True)
system_lib_dir.chmod(0o777)
snippet_env["PATH"] = os.pathsep.join(
[
str(system_home / ".local" / "bin"),