summaryrefslogtreecommitdiff
path: root/hostnix/mojo/packages/claude-code/claude.sb
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix/mojo/packages/claude-code/claude.sb')
-rw-r--r--hostnix/mojo/packages/claude-code/claude.sb10
1 files changed, 10 insertions, 0 deletions
diff --git a/hostnix/mojo/packages/claude-code/claude.sb b/hostnix/mojo/packages/claude-code/claude.sb
index 1117b18..3adb074 100644
--- a/hostnix/mojo/packages/claude-code/claude.sb
+++ b/hostnix/mojo/packages/claude-code/claude.sb
@@ -114,6 +114,10 @@
;; Project directory - primary workspace
(subpath (param "TARGET_DIR"))
+ ;; Include .git and .jj directories in case the root is above TARGET_DIR.
+ (subpath (param "GIT_DIR"))
+ (subpath (param "JJ_DIR"))
+
;; Temporary directories
(subpath (param "TMP_DIR"))
(subpath "/tmp")
@@ -287,6 +291,12 @@
(subpath "/Library/Java")
)
+;; Xcode Command Line Tools - needed so /usr/bin/git (an xcode-select shim)
+;; can locate the real git binary
+(allow file-read*
+ (subpath "/Library/Developer/CommandLineTools")
+)
+
;; Generated allow-read rules for: /Users/joe/src
;; for some reason claude-code needs list access to all parent directories of TARGET_DIR
;; - it doesn't need access to read the contents of directories, only the directories