From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 0/3] Add a generalized `wrap-language-programs` Date: Fri, 18 Nov 2016 10:10:41 +0100 Message-ID: <8760nlywz2.fsf@gnu.org> References: <20161116132734.5943-1-alex@pompo.co> <582C6035.1070202@crazy-compilers.com> <87d1hunlmy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7fC5-0004IY-4I for guix-devel@gnu.org; Fri, 18 Nov 2016 04:10:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7fC0-00005k-10 for guix-devel@gnu.org; Fri, 18 Nov 2016 04:10:49 -0500 In-Reply-To: <87d1hunlmy.fsf@gmail.com> (Alex Sassmannshausen's message of "Thu, 17 Nov 2016 16:58:45 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Alex Sassmannshausen Cc: guix-devel Hi Alex, Alex Sassmannshausen skribis: >> You may try e.g. scons, pip, sphinx, or youtube-dl. > > Hartmut was kind enough to suggest the above python applications to test > this `wrap-language-programs` patch set against, however I have been > stuck in "Rebuild the world"-hell for the last day and a half setting up > testcases. > > I end up feeling a bit desesperated and incompetent, as I'm sure it's > not supposed to be this hard to create an appropriate test scenario here > =E2=80=94 so I was wondering whether anyone has any pointers in avoiding > constantly rebuilding the world? The patch set you posted modifies (guix build utils), which is a module every single derivation uses. That=E2=80=99s why modifying it leads to a f= ull rebuild. To test =E2=80=98wrap-language-programs=E2=80=99 while avoiding a full rebu= ild, you could for instance add that procedure to (guix build python-build-system), in which case you=E2=80=99d have to rebuild =E2=80=9C= only=E2=80=9D Python packages (but not Python itself), or you could introduce a new module and use that selectively. I hope this clarifies and helps a bit! Ludo=E2=80=99.