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: (patch-shebang "the/faulty/file") That would change /usr/bin/env to /nix/store/xxx/bin/env. In ‘core-updates’ this is done automatically on all files right after ‘unpack’, though. Thanks, Ludo’.