When using checkPhase
and calling scripts in your project, you may need to run
patchShebangs bin
prior.
This is because your scripts don't have their shebangs patched, so they may be
trying to call /usr/bin/env bash
. And this path does not exist inside the Nix
build environment.