From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Sassmannshausen Subject: bug#27003: [PATCH 0/3] Generalized wrap phase for perl, python. Date: Sat, 20 May 2017 11:37:42 +0200 Message-ID: <20170520093742.2115-1-alex@pompo.co> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dC0qp-0008TK-Pn for bug-guix@gnu.org; Sat, 20 May 2017 05:39:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dC0qk-000812-Rf for bug-guix@gnu.org; Sat, 20 May 2017 05:39:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53319) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dC0qk-00080x-Oe for bug-guix@gnu.org; Sat, 20 May 2017 05:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dC0qk-00033M-IE for bug-guix@gnu.org; Sat, 20 May 2017 05:39:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dC0pw-0008Qy-Ns for bug-guix@gnu.org; Sat, 20 May 2017 05:38:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dC0pr-0007pG-P7 for bug-guix@gnu.org; Sat, 20 May 2017 05:38:12 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:35052) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dC0pr-0007p7-Ic for bug-guix@gnu.org; Sat, 20 May 2017 05:38:07 -0400 Received: by mail-wm0-x244.google.com with SMTP id g15so2655885wmc.2 for ; Sat, 20 May 2017 02:38:07 -0700 (PDT) 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" To: 27003@debbugs.gnu.org Hello, This patch series goes back some time, but the need for it has not disappeared. It implements a general `wrap` phase that can be used in individual build systems to make sure binaries in those languages have access to all their propagated inputs at runtime, by setting an appropriate environment variable. I tested it against perl and python packages. It will need to go in core-updates due to the number of packages that will need to be rebuilt. Best wishes, Alex Alex Sassmannshausen (3): build/utils: Add 'program-wrapper'. build/perl-build-system: Add 'wrap' phase. build/python-build-system: Refactor 'wrap'. guix/build/perl-build-system.scm | 15 +++++++++++++-- guix/build/python-build-system.scm | 36 ++++++++---------------------------- guix/build/utils.scm | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 30 deletions(-) -- 2.12.2