From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Sassmannshausen Subject: Re: [PATCH 0/3] Add a generalized `wrap-language-programs` Date: Fri, 18 Nov 2016 16:16:25 +0100 Message-ID: <8760nkom2e.fsf@gmail.com> References: <20161116132734.5943-1-alex@pompo.co> <582C6035.1070202@crazy-compilers.com> <87d1hunlmy.fsf@gmail.com> <8760nlywz2.fsf@gnu.org> Reply-To: alex.sassmannshausen@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7ku1-0001BL-Be for guix-devel@gnu.org; Fri, 18 Nov 2016 10:16:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7ktx-0006eE-9U for guix-devel@gnu.org; Fri, 18 Nov 2016 10:16:33 -0500 In-reply-to: <8760nlywz2.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Hi Ludo, Ludovic Courtès writes: > 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 >> — 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’s why modifying it leads to a full > rebuild. That too, makes a whole load of sense. Thank you for explaining this to me! > To test ‘wrap-language-programs’ while avoiding a full rebuild, you > could for instance add that procedure to (guix build > python-build-system), in which case you’d have to rebuild “only” Python > packages (but not Python itself), or you could introduce a new module > and use that selectively. Right, that seems absolutely clear now with your explanation above :-) > I hope this clarifies and helps a bit! Indeed it does, thank you! Alex