From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: 'python-build-system' Date: Mon, 29 Apr 2013 07:50:24 +0400 Message-ID: <87obcym1vj.fsf@karetnikov.org> References: <87sj34zvn1.fsf@karetnikov.org> <87ehdwkntv.fsf@gnu.org> <87sj2b8llf.fsf@karetnikov.org> <877gjmr2to.fsf@karetnikov.org> <87ip36gyxz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWf3t-0001mo-4X for bug-guix@gnu.org; Sun, 28 Apr 2013 23:47:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWf3m-0004wg-RO for bug-guix@gnu.org; Sun, 28 Apr 2013 23:47:33 -0400 In-Reply-To: <87ip36gyxz.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 28 Apr 2013 22:52:40 +0200") 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 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > Yes, definitely. But that=E2=80=99s not a problem: these scripts are most > likely unused during the build process and afterward. So, should I package it (without replacing shells)? >> * guix/build/utils.scm (wrap-program): Assume that 'prog' is an >> absolute filename. Adjust 'prog-real' and 'prog-tmp' accordingly. >> Also, change 'prog-tmp' to honor command line arguments. > What was wrong with the previous approach? I don=E2=80=99t like the =E2= =80=9Cassume > it=E2=80=99s an absolute file name=E2=80=9D bit, because we don=E2=80=99t= know whether the > assumption holds. Well, have a look at this snippet: + (for-each (cut wrap-program <> var) + files))) Each 'file' here will have an absolute filename. I failed to make it work with the previous version. Should I change the commit message? > You need double quotes around $@. Why should I add them? > You also need to keep (package-native-search-paths python). See commit > 35ac56b6, which fixed that for Perl & co. Could you elaborate? Why is it needed? Is it necessary to add 'python-search-paths'? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJRfe4EAAoJEM+IQzI9IQ380oQP/ieoqsbhFvJBOvy5fOqlTAjA cjn75Rp80ckdaKfxGO0QEyfRvQxNuHqgR6IbKKHR4AKCiAkGCnhJ/U0W+7XBkPPx guPQfxa628nOb44qzGlbGdHO9N6/oVGKEBxtQWGKOEpyewSRKexHYtiFu0uB237O 6PV8ehXAK9CWASV5uhKSKMS4xUX6siC1qPIegRXRJ0RsL3QuegNtb02d1aKsG9kE sO0/c0qZIeQGalJyPrLEJejk98kVzVo5i2ad7Vo6gCTqAiwOjqDesNprTk6qR1cj CfpYbwvDtVvzur27bCZ4PIonM3tvuiMibdE58u+IIN/capcvEiE8no32yl88/14R Ec+Te057hic58nKVb28eV+fFkubWsxEnaf052BNdTOVkt/0ukI16n2DgSlNgaEJY uzXUvpHu2I4dTaC1xvbe/T5O/UczHQAn94YcoG/bvxsnt+JElrb99wdaJGXZoctg KUxZnXBFvB80M+v4AyOtW/cKZ+pLRq4hNoVGcYdmNBVwvXOAs5Z5aK9xOAoxS/1J 8wUFhzRxm9cseV4Vxv3xA+Sjh+YnwqmT05/Wvix6+dphEamGiR2IzE0LFl7I5BRP hEpfEZl5j8dBtp+ZVVQaWFGf9T5HkJKIl52pxeBHcr05mp8a19umPnFxR1FPPifn AmNbUdH9wMJ/+4FWJJ11 =tCpT -----END PGP SIGNATURE----- --=-=-=--