help-guix
[Top][All Lists]
Advanced

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

Re: how can I put the Emacs manifest from a profile to the main profile


From: Luis Felipe
Subject: Re: how can I put the Emacs manifest from a profile to the main profile
Date: Sun, 15 Dec 2024 16:39:14 +0000
User-agent: Icedove Daily

On 15/12/24 15:08, gfp wrote:
Hi Luis,

thanks for your help.

I have got:
gfp@Tuxedo ~$ guix package --list-profiles
/home/gfp/Projekte/Emacs/guix-profil
/home/gfp/Projekte/Musik/guix-profil
/home/gfp/.config/guix/current
/home/gfp/.guix-profile


If you still have a copy of both manifests, the one that declares Emacs
things only and the one that declares what goes into your default user profile, then you simply tell guix to use both manifests to create a new generation of your main profile:

  guix package -m path/to/manifest-emacs.scm -m
path/to/manifest-main.scm


I would have to write:

guix package -m /home/gfp/Projekte/Emacs/emacs.scm -m /home/gfp/.guix-profile/manifest

Is that all right?

Almost right. The second manifest (/home/gfp/.guix-profile/manifest) is not the kind of manifest you can pass to the --manifest option. So, instead, get a manifest from your current main profile by exporting it as follows:

    guix package --export-manifest > manifest-main.scm

At this point, you can run:

    guix package -m /home/gfp/Projekte/Emacs/emacs.scm -m manifest-main.scm

Finally, you can save your manifests wherever you want and edit them as you want for future upgrades of your profile(s).

For more information about why /home/gfp/.guix-profile/manifest can't be passed as a manifest, you can read the comments in that file. For example:

    emacs .guix-profile/manifest

Please let us know if things worked well.

Attachment: OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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