From: gfp <gfp@posteo.at>
To: Luis Felipe <sirgazil@zoho.com>, Guix Help <help-guix@gnu.org>
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 [thread overview]
Message-ID: <dda12556-4d35-4ff9-9c7e-000d70dbf198@posteo.at> (raw)
In-Reply-To: <525d693a-b0e8-49f6-ac20-1320a1d7ba03@zoho.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 2623 bytes --]
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.
>
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2451 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]
next prev parent reply other threads:[~2024-12-15 17:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-14 15:29 how can I put the Emacs manifest from a profile to the main profile gfp
2024-12-14 18:07 ` Cayetano Santos
2024-12-14 19:33 ` gfp
2024-12-14 20:00 ` Cayetano Santos
2024-12-14 18:13 ` Luis Felipe
2024-12-15 15:08 ` gfp
2024-12-15 16:39 ` Luis Felipe
2024-12-15 17:42 ` gfp [this message]
2024-12-15 21:05 ` Luis Felipe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dda12556-4d35-4ff9-9c7e-000d70dbf198@posteo.at \
--to=gfp@posteo.at \
--cc=help-guix@gnu.org \
--cc=sirgazil@zoho.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.