env
On Nixos and GNUIX-SD, bash is chroot in package store path. In my case : /nix/store/qvccmr6fsis4kqlvlk8pb1c8c0r0cwai-system-path/bin/bash In any case, using `/usr/bin/env bash` is the recommended way to get bash portable across UNIX-like systems.