Something goes amiss in the configurePhase and binaries start picking up system binaries and everything falls apart. Patch the configure script to use a bourne shell out of the store, and things are happier. Closes https://github.com/NixOS/nixpkgs/pull/40691.