From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emKTB-0001wa-Tu for guix-patches@gnu.org; Thu, 15 Feb 2018 09:25:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emKT8-0002Jb-GE for guix-patches@gnu.org; Thu, 15 Feb 2018 09:25:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:35908) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emKT8-0002JL-Cs for guix-patches@gnu.org; Thu, 15 Feb 2018 09:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1emKT8-0006I3-6o for guix-patches@gnu.org; Thu, 15 Feb 2018 09:25:02 -0500 Subject: bug#30410: [PATCH 2/2] doc: Document the --manifest option for guix pack. Resent-To: guix-patches@gnu.org Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: Date: Thu, 15 Feb 2018 15:24:00 +0100 In-Reply-To: (Konrad Hinsen's message of "Sat, 10 Feb 2018 12:35:41 +0100") Message-ID: <878tbu9vr3.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Konrad Hinsen Cc: 30410-done@debbugs.gnu.org Konrad Hinsen skribis: > * doc/guix.texi (Invoking guix pack): Document --manifest. I=E2=80=99ve squashed this one with the patch that adds the code, so the co= mmit is self-contained. > +@item --manifest=3D@var{file} > +@itemx -m @var{file} > +Use the packages contained in the manifest object > +returned by the Scheme code in @var{file}. > + > +This has a similar purpose as the same-named option in @command{guix > +package} (@pxref{profile-manifest, @option{--manifest}}) and uses the > +same manifest files. It allows you to define a collection of packages > +once and use it both for creating profiles and for creating archives > +for use on machines that do not have Guix installed. Note that you can > +specify @emph{either} a manifest file @emph{or} a list of packages, > +but not both. On second thought, I wonder if we should allow both -m and a list of packages. After all, =E2=80=98guix package=E2=80=99 supports it, and it do= esn=E2=80=99t cost us anything. WDYT? Thanks! Ludo=E2=80=99.