From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: More robust substitute* Date: Sun, 3 Feb 2013 19:03:03 +0100 Message-ID: <201302031903.03298.andreas@enge.fr> References: <201302021714.13440.andreas@enge.fr> <201302021822.02436.andreas@enge.fr> <87ip6946yd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_XZqDR9Kj7T+LTTy" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U23uK-0007Uq-GC for bug-guix@gnu.org; Sun, 03 Feb 2013 13:03:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U23uG-0006uf-DV for bug-guix@gnu.org; Sun, 03 Feb 2013 13:03:12 -0500 In-Reply-To: <87ip6946yd.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: bug-guix@gnu.org --Boundary-01=_XZqDR9Kj7T+LTTy Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Am Sonntag, 3. Februar 2013 schrieb Ludovic Court=C3=A8s: > Ah right, the =E2=80=98patch-shebangs=E2=80=99 phase just looks at files = in =E2=80=98bin=E2=80=99 and > =E2=80=98sbin=E2=80=99 (see gnu-build-system.scm). Indeed, I am unpacking the additional tarballs and using patch-source- shebangs on them, so your suggestion was really useful. > I=E2=80=99m not sure if that would help here, but do you know about > =E2=80=9Cmultiple-output derivations=E2=80=9D? It=E2=80=99s used for Lib= tool for instance: the > =E2=80=98outputs=E2=80=99 field there means that binaries go into one dir= ectory, and the > rest goes into another directory (you see them when typing =E2=80=98guix-= build > libtool=E2=80=99). >=20 > So if there are several kinds of files, you may want to separate them in > different outputs. See my other message - it is actually all done! Andreas --Boundary-01=_XZqDR9Kj7T+LTTy Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Am Sonntag,= 3. Februar 2013 schrieb Ludovic Court=C3=A8s:

> Ah rig= ht, the =E2=80=98patch-shebangs=E2=80=99 phase just looks at files in =E2= =80=98bin=E2=80=99 and

> =E2=80= =98sbin=E2=80=99 (see gnu-build-system.scm).

&nb= sp;

Indeed, I a= m unpacking the additional tarballs and using patch-source-shebangs on them= , so your suggestion was really useful.

&nb= sp;

> I=E2= =80=99m not sure if that would help here, but do you know about

> =E2=80= =9Cmultiple-output derivations=E2=80=9D? It=E2=80=99s used for Libtool for= instance: the

> =E2=80= =98outputs=E2=80=99 field there means that binaries go into one directory, = and the

> rest g= oes into another directory (you see them when typing =E2=80=98guix-build

> libtoo= l=E2=80=99).

>

> So if = there are several kinds of files, you may want to separate them in

> differ= ent outputs.

&nb= sp;

See my othe= r message - it is actually all done!

&nb= sp;

Andreas

&nb= sp;

--Boundary-01=_XZqDR9Kj7T+LTTy--