> I've found how to patch shebang staying inside trivial-build-system. > There is 'patch-shebang' procedure in (guix build utils) module, so all > is needed is to call it with the proper path (containing bash or another > shell you use). So the following lines should be added:
I think you can also use "which" to find bash if you don't want to add it to your inputs. (let ((sh (which "sh"))) ...) But I don't know which solution is better... -- Vincent Legoll