Description
Description
./configure
emits an error on NixOS
when executing /usr/bin/file conftest.o
:
Line 623 in b438e2b
./configure: line 84230: /usr/bin/file: No such file or directory
The build succeeds regardless, so it's not a huge issue.
file
does not live in /usr/bin
on NixOS, as the binaries depend on the environment. Instead, they can be looked up with /usr/bin/env
. /usr/bin/env file conftest.o
works as expected, but it seems that passing further arguments to env
is not portable. Maybe we can just depend on file
being provided in the current $PATH
?
@petk I already pinged on on Slack about this, but you might not be very active there. 🙂
PHP Version
PHP 8.2+
Operating System
NixOS