-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Opencode doesn't use $PATH to find tar binary. Instead, hardcoded search paths are used:
[pid 32211] 16:51:53.256383 stat("/usr/bin/tar", 0x7ffd20d98280) = -1 ENOENT (No such file or directory)
[pid 32211] 16:51:53.256402 stat("/bin/tar", 0x7ffd20d98280) = -1 ENOENT (No such file or directory)
This will never work on systems like NixOS or GuixSD. Such type of Linux distributions doesn't have /usr/bin at all.
$ which tar
/run/current-system/profile/bin/tar
Metadata
Metadata
Assignees
Labels
No labels