From mboxrd@z Thu Jan 1 00:00:00 1970 From: hub.lombard@free.fr Subject: Re: A question about manifest for my profile Date: Sat, 20 Jul 2019 21:35:32 +0200 (CEST) Message-ID: <2111997689.456120771.1563651332740.JavaMail.root@zimbra49-e8.priv.proxad.net> References: <87a7dcdcqp.fsf@member.fsf.org> 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]:41284) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hov8r-0003sG-B0 for help-guix@gnu.org; Sat, 20 Jul 2019 15:35:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hov8q-0007xo-9m for help-guix@gnu.org; Sat, 20 Jul 2019 15:35:37 -0400 Received: from smtp3-g21.free.fr ([2a01:e0c:1:1599::12]:59897) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hov8q-0007vP-3i for help-guix@gnu.org; Sat, 20 Jul 2019 15:35:36 -0400 In-Reply-To: <87a7dcdcqp.fsf@member.fsf.org> 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?B?5a6L5paH5q2m?= Cc: Help Guix ----- Mail original ----- De: "=E5=AE=8B=E6=96=87=E6=AD=A6" =C3=80: "hub lombard" Cc: "Help Guix" Envoy=C3=A9: Mercredi 17 Juillet 2019 15:14:38 Objet: Re: A question about manifest for my profile hub.lombard@free.fr writes: >> Hi Guix! >> I generated a 'manifest-to-manifest.scm' manifest of all the packages in= stalled in my user profile >> Then I called it: >> hubert@gnu ~$ guile -s manifest-to-manifest.scm ~/.guix-profile >> Then I made the updates, reconfigured /etc/config.scm and restarted. >> I think the launch of the script was more or less equivalent to the foll= owing command: >> $ guix package --manifest=3Dmanifest-to-manifest.scm >This '--manifest' option accept a file, which should return a manifest >object, and the script you run generate it from your profile. So you >can write the script output "(specifications->manifest .....)" into a >file, eg: "~/.config/guix/manifest.scm", then use "guix package -m >~/.config/guix-manifest.scm" to apply it. Done!... By launching: $ guix package -m ~/.config/guix/manifest.scm > >> In which case, I will not need to run this command? > >> And finally, are there any changes to make in '/etc/config.scm'? Maybe a= dd to it: > >> ----------------------------------------------- >> (specifications->manifest >> '("brasero" >> "ffmpeg" >> "gimp" >> "gnumeric" >> "inkscape" >> "lynx" >> "markdown" >> "mpv" >> "obs" >> "qemu" >> "quassel" >> "racket" >> "ungoogled-chromium" >> "wget" >> "youtube-dl" >> "youtube-viewer")) >> ----------------------------------------------- >No, the "packages" field of "operation-system" accept a list of package >objects, it can't deal with "manifest". In fact, "manifest" is used to >manage user's own profile, in a declarative way, just like "packages". Got it... >> Thank you in advance for your possible clarification :-) >Yeah, hope it helps! Indeed :) Thank you so much iyzsong! Hubert