Why does he use #!/bin/bash in the script instead of either #!/usr/bin/env bash or ${pkgs.coreutils}/bin/bash.

I think it gets patched in the fixup phase by the build eventually, but I would have used #! /usr/bin/env bash instead.

1 Like

Not sure, perhaps an oversight? I wrote him an email thanking him for this and mentioning that the -J flag to xargs didn’t work on Linux it appears to be a macOS thing. He’s pretty responsive so perhaps it is worth writing him to point out the thing about bash?