[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: |
gfp |
Subject: |
Re: how can I put the Emacs manifest from a profile to the main profile |
Date: |
Sun, 15 Dec 2024 17:42:32 +0000 |
Hi Luis,
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
1.
I did that and interestingly it worked.
In the terminal it said:
followings packages are being installed.
It installed every single package of Emacs (including Emacs 29.4) in my
main profile, which I had in the Emacs manifest.
So I have now 180 packages.
2.
I thought it will be like the manifest of Emacs which I had in a
separate profile, but now every emacs package got separately installed.
3.
Finally, you can save your manifests wherever you want and edit them as
you want for future upgrades of your profile(s).
So, where is now my emacs manifest?
4.
At least I can open Emacs in my application list.
5.
Can I now delete my Emacs manifest in my separate profile?
thanks
Gottfried
Am 15.12.24 um 17:39 schrieb Luis Felipe:
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.
OpenPGP_0xD9E413C6C4BB32CE.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature