You would need to add a phase to do:
(patch-shebang the/faulty/file)
That would change /usr/bin/env to /nix/store/xxx/bin/env.
The problem is that I haven't found any references to '/usr/bin/env' in
those files. I tried the following anyway, but it didn't work out.
(arguments '(#:phases
Hi,
Nikita Karetnikov nik...@karetnikov.org skribis:
This patch fails with the following error. How to fix it?
# ./pre-inst-env guix-build -K glib
[...]
GEN gdbus-test-codegen-generated.h
/bin/sh: /usr/bin/env: No such file or directory
You would need to add a phase to do: