From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: GNU Bazaar doesn't support the GNU build system Date: Wed, 23 Jan 2013 01:13:07 -0500 Message-ID: <874ni8toj4.fsf@karetnikov.org> References: <87r4lj7ziv.fsf@karetnikov.org> <87fw1y7i1n.fsf@gnu.org> <87libp8zkl.fsf@karetnikov.org> <87wqv91e1g.fsf@gnu.org> <87mww4bxdj.fsf@karetnikov.org> <871udgvsla.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]:34536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Txta7-0003HB-Cv for bug-guix@gnu.org; Wed, 23 Jan 2013 01:13:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Txta4-0008WI-Sv for bug-guix@gnu.org; Wed, 23 Jan 2013 01:13:07 -0500 In-Reply-To: <871udgvsla.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "(unknown date)") 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 > I realize this is a bit more involved than =E2=80=9Cjust=E2=80=9D packagi= ng the thing, > but it will be useful in the long run. I'm missing the big picture. That's the main problem. What will happen when I run 'guix-package -i hello'? AFAICT, '(build-system gnu-build-system)' calls 'gnu-build' with the corresponding arguments. But I can't find where this actually happens. I assume that 'gnu-build' will call '%standard-phases' (from 'gnu-build-system.scm') if I don't specify any arguments. Then '%standard-phases' will call the functions like 'set-paths' and 'unpack'. How does it really work? Let's assume that I'll do the same in 'python-build-system.scm'. Can I reuse 'set-paths' and 'unpack'? Should I write my own functions instead? How can I determine what environment variables and prefixes should be used? I've noticed that 'development/python-modules/generic/default.nix' uses 'easy_install'. Should we use it? Nikita --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJQ/3+SAAoJEM+IQzI9IQ380G4P/j7vxnEM75VyW4lwggmFu4A8 GWueSNY+e9eHV3H1OEoDPh8PKcKiajToasXOroHcwRDbRYVSf83bjLZ3EhE/ofeQ TSuYycN5TnlWBK8Y6gYNE83xGjREH1Y35006Q8EjFCJtJ7NgGbVXkCrpn5ay+uuu rRVh8qXD2q/rfXXAzcI57fXjv3YKeCE4NkCz++qQhHpCQ4mTRqqRns1jboLuwD7R NmnReodnB607Ks11wrSon14DE5N52F9Pg+hwz2e5ph0fHdHiJhYoJDuzo1lGfnPU MH9XVKcgR3TrSsYwVXC8ob6o8DfuYW0zO0/uLn1p4JsuDwxop/uzNFTsKVhQqNZv I4ng0AwfXIacGnLUkfoH229UOnIdnTLgJA2rOjrqiQoxaTQqLtJ46kfeKRioueLr m5DI7aUJ+v61OMW1TSJYJrKxZNBP8c1HsAnGg/GOQf9cIx2OIhDoOjrBp9h02yU5 btxlBApIvwnt9OdzPyxQSGexf+uS4uh3bK29R940xclmWAVoJQaTdW4xrUxcXCrP KT21IxvI8+B3AL/a/exy1tlLcYTGBicXUB1x089WBmidIbIaVuT0Z0yKGV6h4Y7A VvScZn0QzGZYNYcHEkenD90QpAlA4fYCr/aa1ENBoet1FTck0vLTEwi6pUr+hnQD ndl2HqWj8x/yKidXtQ6Z =wv1E -----END PGP SIGNATURE----- --=-=-=--