unofficial mirror of help-guix@gnu.org 
 help / color / mirror / 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 21:05:43 +0000	[thread overview]
Message-ID: <3e140835-ed41-4170-a348-de198a76cc9a@zoho.com> (raw)
In-Reply-To: <dda12556-4d35-4ff9-9c7e-000d70dbf198@posteo.at>


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

On 15/12/24 17:42, gfp wrote:
> 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.

Mission accomplished then, right?


> 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?

It is in the same location (/home/gfp/Projekte/Emacs/emacs.scm). Nothing 
happens to your manifests when you use them. They are similar to 
shopping lists; Guix will read them, when you pass them with the 
--manifest option, to know what packages to put in your profile(s), but 
that's it, the manifest files won't be modified in any way by Guix. So, 
similarly to the Emacs-related manifest you just used, the manifest we 
named "manifest-main.scm" is still a Scheme file and it is still in the 
same folder it was saved to when you called "guix package 
--export-manifest > manifest-main.scm".


> 4.
> At least I can open Emacs in my application list.

Right, that's the expected result. Your main profile should now have the 
union of the packages listed in the two manifests you used.


> 5.
> Can I now delete my Emacs manifest in my separate profile?

Yes, assuming you are managing the profile located in 
/home/gfp/Projekte/Emacs/guix-profil by yourself using Guix commands and 
not through some third-party software that expects 
/home/gfp/Projekte/Emacs/emacs.scm to exist.

You can delete manifest files or save them in any folder you want for 
future use or share them with other people. You could even save all your 
manifest files in your pocket if you'd like to. It's up to you. Your 
current profiles don't depend on them to work. Nothing will break if the 
manifests are not in your machine any more.


> thanks

You're welcome :)



[-- 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 21:06 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
2024-12-15 21:05         ` Luis Felipe [this message]

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3e140835-ed41-4170-a348-de198a76cc9a@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).