Andreas Enge <andr...@enge.fr> skribis:

> I had a look (without having much experience with the trivial build system),
> and it looks mostly clean. However, the package installs three bash scripts
> that start with "#!/bin/bash". This will not work on GuixSD, where only
> /bin/sh exists. It should be patched by adding bash as an input and
> substituting. Alternatively, you could use the gnu-build-system, delete most
> of the phases, set #:tests? to #f and add a custom install phase; then the
> patch-shebangs phase will do its magic.

Alternately, the builder could manually invoke the ‘patch-shebangs’
phase, which is a regular procedure:

  (use-modules (guix build gnu-build-system))

  ((assoc-ref %standard-phases 'patch-shebangs) %build-inputs
                                                %outputs)

Ludo’.

Reply via email to