[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add bash-tap.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] gnu: Add bash-tap. |
Date: |
Fri, 18 Mar 2016 21:49:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Andreas Enge <address@hidden> 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’.