From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1pEs-0006a2-5w for guix-patches@gnu.org; Tue, 10 Oct 2017 03:46:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1pEo-00015g-AV for guix-patches@gnu.org; Tue, 10 Oct 2017 03:46:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1pEo-00015a-6y for guix-patches@gnu.org; Tue, 10 Oct 2017 03:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1pEo-0005tc-0V for guix-patches@gnu.org; Tue, 10 Oct 2017 03:46:02 -0400 Subject: [bug#28773] [PATCH] Wrap bin files in the ruby build system. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1pDm-0005wA-JL for guix-patches@gnu.org; Tue, 10 Oct 2017 03:44:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1pDj-00006W-GE for guix-patches@gnu.org; Tue, 10 Oct 2017 03:44:58 -0400 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:39149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1pDj-0008WV-9m for guix-patches@gnu.org; Tue, 10 Oct 2017 03:44:55 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id D7C8A14761C for ; Tue, 10 Oct 2017 08:44:52 +0100 (BST) Date: Tue, 10 Oct 2017 08:44:52 +0100 From: Christopher Baines Message-ID: <20171010084452.036b3052@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/OPSxk6zecE8TdZ.6WguXl40"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28773@debbugs.gnu.org --Sig_/OPSxk6zecE8TdZ.6WguXl40 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable This is a bit experimental. There is some description of the motivation behind this approach, as well as the downsides in the commit messages. I don't know how to wrap binaries with the GEM_PATH, but somehow excluding inputs specified as native-inputs, so I'd be very interested if anyone has ideas about this. Christopher Baines (3): ruby-build-system: Add wrap-ruby-program. ruby-build-system: Add a new wrap phase. gnu: Remove redundant wrapping from packages using ruby-build-system. gnu/packages/databases.scm | 13 +--- gnu/packages/ruby.scm | 18 +----- guix/build/ruby-build-system.scm | 131 +++++++++++++++++++++++++++++++++++= +++- 3 files changed, 133 insertions(+), 29 deletions(-) --Sig_/OPSxk6zecE8TdZ.6WguXl40 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlncenRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xc28Q/+J7ybER59IzVfKI1dB5zI9N+mb4SdxtEUxJFRFIccrMIVWxRFdBk04/bN Ou2lO1h7i7EGa3vZKwNfyAvWYoMLxCzLQsBv5EaJ3gBJTXl+1/HmOoYlbFet8lMp puUHLohIQNwA/Fgq+Hnk1gwL8zJmvH9kVD+3tAsLbVI0CmCvWH1fNFh5B7CosQCi PLIBprV1Sxr+1a8G8Xh7jL15oxUmC8O1t3ol2y+gOrbgwVogE+UFJtmPVM42gXxH LK1oeb/1//pSC7Frp17f6VmFf9SmZRr+rdVk82lgrQ89pyhNtgV5ERFK+9jMhdVg az4SvhoXjGnHZRxawVfc5t+85drMHKTCOIBtb4vZ2BlHSMf5Mx1wMDK0eww2w926 6REIUE0HADZVOI+cNevc7YJEqGPcCT/N6N31ox8rnGIQWKDoX5HF6aVRsg+QSKvh 4HSKyzgXcEGAnZIxRua49SnBxyPmxauoR30hc4dOvXLxWzDSLWXtFNiJ69bbEx0L Wgm265CmRnFIH0EMB1UNhP+dqYhWQalRRvBqLaCJGshXx83HZammlSES/xr3SUBi Sy8rzIxYqYIAa7Ji5lPhrzBpFwnJXBc1ofqy4rvXosStarr2ugjfwsuETepKIEEW F61JEhXQ5gAido3CkpyuQ8e1Yn/iXufAmZ1OFVIx+CUdtuYP8oQ= =xJyy -----END PGP SIGNATURE----- --Sig_/OPSxk6zecE8TdZ.6WguXl40--