[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question about manifest for my profile

From: hub . lombard
Subject: Re: A question about manifest for my profile
Date: Sat, 20 Jul 2019 21:35:32 +0200 (CEST)

----- Mail original -----
De: "宋文武" <address@hidden>
À: "hub lombard" <address@hidden>
Cc: "Help Guix" <address@hidden>
Envoyé: Mercredi 17 Juillet 2019 15:14:38
Objet: Re: A question about manifest for my profile

address@hidden writes:

>> Hi Guix!
>> I generated a 'manifest-to-manifest.scm' manifest of all the packages 
>> installed 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 
>> following command:

>> $ guix package --manifest=manifest-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 add 
>> 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!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]