From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Problem using multiple manifest files Date: Sat, 13 Oct 2018 06:08:05 +0200 Message-ID: <878t32o5ei.fsf@elephly.net> References: 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]:39356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBBED-0004gW-EJ for help-guix@gnu.org; Sat, 13 Oct 2018 00:08:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBBE8-000488-HV for help-guix@gnu.org; Sat, 13 Oct 2018 00:08:37 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21034) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBBE8-00046m-1e for help-guix@gnu.org; Sat, 13 Oct 2018 00:08:32 -0400 In-reply-to: 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: =?utf-8?Q?Thadd=C3=A4us_T=C3=B6ppen?= Cc: help-guix@gnu.org Hello Thadd=C3=A4us, > Hello Guix community, welcome! > When I use "guix package -m emacs.scm" it installs the packages and they > are available. When I then install the next manifest file's packages, the > "emacs.scm" packages are no longer available =E2=80=93 the links in > "~/.guix-profile/bin" have been removed. > > Am I correct in assuming, that only one manifest file can be installed at= a > time, thus all package definitions have to be in one file (or at least > imported into a main-package-file)? Yes, this is correct. A manifest declares the contents of a single profile. By passing a manifest file to =E2=80=9Cguix package -m=E2=80=9D y= ou tell it to only install the declared packages and remove everything else. You can instantiate different manifest to different profiles by also passing =E2=80=9C-p /path/to/other/profile=E2=80=9D. You can combine them = in a session by source-ing each of the profiles=E2=80=99 =E2=80=9Cetc/profile=E2=80=9D f= iles. > Also: If I have more (beginner) questions, should I drop them all in one > mail or create separate threads It=E2=80=99s better to send separate emails. -- Ricardo