Hi, how do I add a user path to be used by system_...
# general
s
Hi, how do I add a user path to be used by system_binary? I'd like to do
extra_search_paths=["~/.cargo/bin/"]
but it doesn't expand the
~
and I can't do it manually by e.g. calling `os.path.userpath(...)`` as then pants says I should write a plugin.
b
I think referencing the
HOME
environment variable might work via
env(“HOME”)
. Eg
f"{env('HOME')}/.cargo/bin"
👍 1