all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luis Felipe <sirgazil@zoho.com>
To: gfp <gfp@posteo.at>, 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 16:39:14 +0000	[thread overview]
Message-ID: <525d693a-b0e8-49f6-ac20-1320a1d7ba03@zoho.com> (raw)
In-Reply-To: <97a90a3a-bd98-4c7f-af68-35d2b579f0f9@posteo.at>


[-- Attachment #1.1.1: Type: text/plain, Size: 1567 bytes --]

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: 2881 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

  reply	other threads:[~2024-12-15 16:40 UTC|newest]

Thread overview: 8+ 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 [this message]
2024-12-15 17:42       ` gfp

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=525d693a-b0e8-49f6-ac20-1320a1d7ba03@zoho.com \
    --to=sirgazil@zoho.com \
    --cc=gfp@posteo.at \
    --cc=help-guix@gnu.org \
    /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.