From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: Re: Debugging and source code Date: Thu, 26 Jan 2017 09:58:38 +0100 Message-ID: <0df93cbe49d6e05ddd59285db168d9da@tobias.gr> References: <20170125065343.GB6221@mail.thebird.nl> <877f5jxoif.fsf@gnu.org> <20170125132654.GA7870@mail.thebird.nl> <87h94nvxd5.fsf@gnu.org> <20170126035844.GA10299@mail.thebird.nl> <87wpdiz1eg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWftI-0006n1-Qn for guix-devel@gnu.org; Thu, 26 Jan 2017 03:58:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWftI-0005IB-3F for guix-devel@gnu.org; Thu, 26 Jan 2017 03:58:48 -0500 In-Reply-To: <87wpdiz1eg.fsf@gmail.com> 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: Pjotr Prins Cc: guix-devel@gnu.org, Guix-devel On 2017-01-26 09:11, Chris Marusich wrote: > We have "guix build -S foo" which fetches the source. It sounds like > you're suggesting that we remove this and replace it with a "source" > (or > "debug-full") output for each package, so to get the source you would > run "guix build foo:source" instead. Is my understanding correct? Interesting idea (:source, not :debug-full)! Two minor points: Won't that mean that the package has to be built to completion at least once, somewhere, to output its own :source? If so, adding special-case code to avoid that would not be a net win. We'd also have to choose between keeping a misleading name, 'outputs', and a global bike-sed. Kind regards, T G-R -- Sent from a web browser. Excuse/enjoy my brevity.