From mboxrd@z Thu Jan 1 00:00:00 1970 From: hub.lombard@free.fr Subject: Re: A 'guix pull' option for 'manifest.scm' to be used in the next update Date: Mon, 29 Jul 2019 12:58:14 +0200 (CEST) Message-ID: <1871638010.563358267.1564397894123.JavaMail.root@zimbra49-e8.priv.proxad.net> References: <87blxdqnb4.fsf@inv.alid.pw> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44886) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hs3MD-0003Eh-DQ for help-guix@gnu.org; Mon, 29 Jul 2019 06:58:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hs3MC-0006fv-As for help-guix@gnu.org; Mon, 29 Jul 2019 06:58:21 -0400 Received: from smtp5-g21.free.fr ([212.27.42.5]:8728) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hs3M9-0006cz-VQ for help-guix@gnu.org; Mon, 29 Jul 2019 06:58:18 -0400 In-Reply-To: <87blxdqnb4.fsf@inv.alid.pw> 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: Josh Holland Cc: help-guix@gnu.org Hi Josh! ----- Mail original ----- De: "Josh Holland" =C3=80: help-guix@gnu.org Envoy=C3=A9: Lundi 29 Juillet 2019 10:04:15 Objet: Re: A 'guix pull' option for 'manifest.scm' to be used in the next u= pdate Hi Hubert, hub.lombard@free.fr writes: > In order for 'manifest.scm' to be used in the next update, should I do so= mething like this: > > $ guix pull -p, --profile=3DPROFILE > > (using PROFILE instead of ~/.config/guix/current) `guix pull` is not the command that you should be passing your manifest file to. If you are familiar with Debian-based distros, then `guix pull` is (somewhat) analogous to `apt update`: it gets updated package definitions (and also updates the guix program itself) but doesn't make any changes to packages you have installed. Also, I think you have misunderstood what the PROFILE option is referring to. A "profile" in Guix is a collection of packages. Usually you'll have a single profile for each user, and perhaps some ad-hoc profiles created behind the scenes by running `guix environment`. In several months of running Guix, I've never needed to use the --profile option. To actually use the manifest, you want to pass it to `guix package`. For example, here's the command I normally run to upgrade everything: $ guix pull && guix package -m ~/guix-packages.scm -u . Thanks, Josh Thank you for your answer :) So maybe (I'm not sure) I can try, considering the path of my manifest.scm: $ guix pull && guix package -m ~/.config/guix/manifest.scm -u Is this path seems to be correct? Otherwise, unless I have to move my file to another place? Thanks, Hubert