From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Debugging and source code Date: Thu, 26 Jan 2017 19:03:23 +0100 Message-ID: <874m0lwvf8.fsf@gnu.org> 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> <0df93cbe49d6e05ddd59285db168d9da@tobias.gr> 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]:51503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWoOW-0006l6-94 for guix-devel@gnu.org; Thu, 26 Jan 2017 13:03:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWoOV-00042m-2D for guix-devel@gnu.org; Thu, 26 Jan 2017 13:03:36 -0500 In-Reply-To: <0df93cbe49d6e05ddd59285db168d9da@tobias.gr> (Tobias Geerinckx-Rice's message of "Thu, 26 Jan 2017 09:58:38 +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: Tobias Geerinckx-Rice Cc: guix-devel@gnu.org, Guix-devel Tobias Geerinckx-Rice skribis: > 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. Right, for this reason a =E2=80=9Csource=E2=80=9D output cannot supersede = =E2=80=98guix build -S=E2=80=99 (and internally, origins need to exist.) Ludo=E2=80=99.