From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Including sources in guix archive --export Date: Fri, 14 Sep 2018 12:00:33 +0200 Message-ID: <87h8isieke.fsf@gnu.org> References: <1536873178.22035.0@smtp.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]:54899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0ku2-0001fn-4x for help-guix@gnu.org; Fri, 14 Sep 2018 06:00:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0ktw-0001LO-H8 for help-guix@gnu.org; Fri, 14 Sep 2018 06:00:42 -0400 In-Reply-To: <1536873178.22035.0@smtp.gmail.com> ("Georges \=\?utf-8\?Q\?Dup\?\= \=\?utf-8\?Q\?\=C3\=A9ron\=22's\?\= message of "Thu, 13 Sep 2018 23:12:58 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Georges =?utf-8?Q?Dup=C3=A9ron?= Cc: help-guix@gnu.org Hi Georges, Georges Dup=C3=A9ron skribis: > Is it possible to export a .nar including the sources necessary to > rebuild that package? Not directly, but you could do something like: guix archive --export -r hello $(guix build -S hello) > hello.nar (Or even =E2=80=9Cguix build --sources=3Dtransitive hello=E2=80=9D.) HTH! Ludo=E2=80=99.