eager-lamp-68986
01/31/2022, 2:24 PMBinaryNotFoundError
. Is there any way to tell pants explicitly where to find my docker executable?curved-television-6568
01/31/2022, 2:30 PMDEFAULT_SEARCH_PATH = SearchPath(("/usr/bin", "/bin", "/usr/local/bin"))
Where is it located on your system? (as a possible workaround, symlinking it to one of those paths should work)hundreds-father-404
01/31/2022, 2:40 PMsearch_path
to https://www.pantsbuild.org/docs/reference-docker?curved-television-6568
01/31/2022, 2:57 PMeager-lamp-68986
01/31/2022, 4:12 PM/nix/store/krhks5l8pdi8zj20f6gbchk2f63ghihg-system-path/bin/docker
curved-television-6568
01/31/2022, 4:13 PMeager-lamp-68986
01/31/2022, 4:15 PM/usr/local/bin
but I still get the same error. This is strange, since when I extract and run the script https://github.com/pantsbuild/pants/blob/706e3844ac22b32fbb506c4c2f4a8121c04dd5dd/src/python/pants/engine/process.py#L599
and I set PATH=/usr/local/bin, the binary is discovered correctly. I'll continue to investigatehundreds-father-404
01/31/2022, 4:24 PMbash
every time you run Pants, as it's infrequent those change
Glad it's working. Sounds good on adding a new optioncurved-television-6568
02/04/2022, 1:33 PM