Closed OlivierNicole closed 1 month ago
Such hardcoded path prevent to build and opam install bin_prot on platforms where bash is not at the expected location, such as NixOS. /usr/bin/env bash is the most portable shebang for UNIX-like systems.
opam install
/usr/bin/env bash
This is subsumed by https://github.com/janestreet/bin_prot/pull/29, which should be included in the next update of this package.
That’s good to know, thanks!
Such hardcoded path prevent to build and
opam install
bin_prot on platforms where bash is not at the expected location, such as NixOS./usr/bin/env bash
is the most portable shebang for UNIX-like systems.