Hello, I have a small problem related to where git...
# general
r
Hello, I have a small problem related to where git is installed. One of my colleagues has his git executable installed under /opt/git/bin and pants complains that it can't find the git executable. The list of search paths shown on the error message doesn't contain /opt/git/bin even if set in the PATH env variable of the shell. Is there an option like [python-bootstrap].search_path for git?
r
😨
f
Copy code
# TODO(#14492): This should be configurable via `[system-binaries]` subsystem, likely per-binary.
SEARCH_PATHS = ("/usr/bin", "/bin", "/usr/local/bin")
sounds like the user has a use case that matches the TODO ... I would suggest for now that the user symlink
/usr/local/bin/git
to point at
/opt/git/bin
r
not lucky today 🙂 Thanks!