* how can I put the Emacs manifest from a profile to the main profile
@ 2024-12-14 15:29 gfp
2024-12-14 18:07 ` Cayetano Santos
2024-12-14 18:13 ` Luis Felipe
0 siblings, 2 replies; 9+ messages in thread
From: gfp @ 2024-12-14 15:29 UTC (permalink / raw)
To: Guix Help
[-- Attachment #1.1.1: Type: text/plain, Size: 376 bytes --]
Hi Guix,
I created a manifest for Emacs and put it in a separate profile.
How can I now transfer this manifest to my main profile?
Some other manifests which I put in a separate profile consisted only of
one sentence which mentioned the package.
But Emacs is different. I put many specifications there.
That´s why my question.
thanks for help
Gottfried
[-- 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 --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: how can I put the Emacs manifest from a profile to the main profile
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 18:13 ` Luis Felipe
1 sibling, 1 reply; 9+ messages in thread
From: Cayetano Santos @ 2024-12-14 18:07 UTC (permalink / raw)
To: gfp; +Cc: Guix Help
[-- Attachment #1: Type: text/plain, Size: 665 bytes --]
>sam. 14 déc. 2024 at 15:29, gfp <gfp@posteo.at> wrote:
> Hi Guix,
>
> I created a manifest for Emacs and put it in a separate profile.
>
> How can I now transfer this manifest to my main profile?
>
> Some other manifests which I put in a separate profile consisted only of one sentence
> which mentioned the package.
>
> But Emacs is different. I put many specifications there.
> That´s why my question.
I’m using a different profile for emacs myself.
Not sure to follow, could you share the manifest ?
--
Cayetano Santos
GnuPG Key: https://meta.sr.ht/~csantosb.pgp
FingerPrint: CCB8 1842 F9D7 058E CD67 377A BF5C DF4D F6BF 6682
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: how can I put the Emacs manifest from a profile to the main profile
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 18:13 ` Luis Felipe
2024-12-15 15:08 ` gfp
1 sibling, 1 reply; 9+ messages in thread
From: Luis Felipe @ 2024-12-14 18:13 UTC (permalink / raw)
To: gfp, Guix Help
[-- Attachment #1.1.1: Type: text/plain, Size: 1009 bytes --]
Hi Gottfried,
On 14/12/24 15:29, gfp wrote:
> Hi Guix,
>
> I created a manifest for Emacs and put it in a separate profile.
>
> How can I now transfer this manifest to my main 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
If you lost any of your manifest files, you can export them from their
corresponding profiles. For example,
❶ Ask guix to list the profiles it knows about (maybe your
Emacs-specific profile will be listed):
guix package --list-profiles
❷ Export a manifest from a given profile (your Emacs profile, for example):
guix package --export-manifest
--profile=/path/to/gottfried-emacs-profile > manifest-emacs.scm
I hope that helps,
[-- 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 --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: how can I put the Emacs manifest from a profile to the main profile
2024-12-14 18:07 ` Cayetano Santos
@ 2024-12-14 19:33 ` gfp
2024-12-14 20:00 ` Cayetano Santos
0 siblings, 1 reply; 9+ messages in thread
From: gfp @ 2024-12-14 19:33 UTC (permalink / raw)
To: Cayetano Santos; +Cc: Guix Help
[-- Attachment #1.1.1: Type: text/plain, Size: 2405 bytes --]
Hi,
> Not sure to follow, could you share the manifest ?
This is my emacs manifest:
;emacs manifest
(use-modules ((gnu packages) #:select (specifications->manifest)))
(specifications->manifest
(list "emacs"
"emacs-adoc-mode"
"emacs-alsamixer-el"
"emacs-async"
"emacs-calibredb"
"emacs-cider"
"emacs-clojure-mode"
"emacs-company"
"emacs-crdt"
"emacs-chronometrist"
"emacs-csv-mode"
"emacs-dockerfile-mode"
"emacs-elpher"
"emacs-emms"
"emacs-eww-lnum"
"emacs-exwm"
"emacs-flycheck"
"emacs-flymake-kondor"
"emacs-flyspell-correct"
"emacs-forge"
"emacs-geiser"
"emacs-geiser-guile"
"emacs-gnuplot"
"emacs-google-translate"
"emacs-guix"
"emacs-helm"
"emacs-helm-ag"
"emacs-helm-descbinds"
"emacs-helm-swoop"
"emacs-htmlize"
"emacs-magit"
"emacs-markdown-mode"
"emacs-nov-el"
"emacs-ob-async"
"emacs-org"
"emacs-org-pomodoro"
"emacs-ox-gfm"
"emacs-ox-pandoc"
"emacs-paredit"
"emacs-pdf-tools"
"emacs-pinentry"
"emacs-pandoc-mode"
"emacs-rjsx-mode"
"emacs-shroud"
"emacs-sqlite"
"emacs-tablist"
"emacs-telephone-line"
"emacs-treemacs"
"emacs-vterm"
"emacs-web-mode"
"emacs-wget"
"emacs-which-key"
"emacs-xwidgets"
"mu"
"paps"))
thanks
Gottfried
Am 14.12.24 um 19:07 schrieb Cayetano Santos:
>
>> sam. 14 déc. 2024 at 15:29, gfp <gfp@posteo.at> wrote:
>
>> Hi Guix,
>>
>> I created a manifest for Emacs and put it in a separate profile.
>>
>> How can I now transfer this manifest to my main profile?
>>
>> Some other manifests which I put in a separate profile consisted only of one sentence
>> which mentioned the package.
>>
>> But Emacs is different. I put many specifications there.
>> That´s why my question.
>
> I’m using a different profile for emacs myself.
>
> Not sure to follow, could you share the manifest ?
>
> --
> Cayetano Santos
> GnuPG Key: https://meta.sr.ht/~csantosb.pgp
> FingerPrint: CCB8 1842 F9D7 058E CD67 377A BF5C DF4D F6BF 6682
[-- 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 --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: how can I put the Emacs manifest from a profile to the main profile
2024-12-14 19:33 ` gfp
@ 2024-12-14 20:00 ` Cayetano Santos
0 siblings, 0 replies; 9+ messages in thread
From: Cayetano Santos @ 2024-12-14 20:00 UTC (permalink / raw)
To: gfp; +Cc: Guix Help
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
>sam. 14 déc. 2024 at 19:33, gfp <gfp@posteo.at> wrote:
> Hi,
>
>> Not sure to follow, could you share the manifest ?
>
> This is my emacs manifest:
Ok, so you try to combine two manifests, right ?
See Luis Felipe reply to your original email.
--
Cayetano Santos
GnuPG Key: https://meta.sr.ht/~csantosb.pgp
FingerPrint: CCB8 1842 F9D7 058E CD67 377A BF5C DF4D F6BF 6682
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: how can I put the Emacs manifest from a profile to the main profile
2024-12-14 18:13 ` Luis Felipe
@ 2024-12-15 15:08 ` gfp
2024-12-15 16:39 ` Luis Felipe
0 siblings, 1 reply; 9+ messages in thread
From: gfp @ 2024-12-15 15:08 UTC (permalink / raw)
To: Luis Felipe, Guix Help
[-- Attachment #1.1.1: Type: text/plain, Size: 1862 bytes --]
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?
thanks
Gottfried
Am 14.12.24 um 19:13 schrieb Luis Felipe:
> Hi Gottfried,
>
> On 14/12/24 15:29, gfp wrote:
>> Hi Guix,
>>
>> I created a manifest for Emacs and put it in a separate profile.
>>
>> How can I now transfer this manifest to my main 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
>
> If you lost any of your manifest files, you can export them from their
> corresponding profiles. For example,
>
> ❶ Ask guix to list the profiles it knows about (maybe your
> Emacs-specific profile will be listed):
>
> guix package --list-profiles
>
> ❷ Export a manifest from a given profile (your Emacs profile, for example):
>
> guix package --export-manifest
> --profile=/path/to/gottfried-emacs-profile > manifest-emacs.scm
>
> I hope that helps,
[-- 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 --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: how can I put the Emacs manifest from a profile to the main profile
2024-12-15 15:08 ` gfp
@ 2024-12-15 16:39 ` Luis Felipe
2024-12-15 17:42 ` gfp
0 siblings, 1 reply; 9+ messages in thread
From: Luis Felipe @ 2024-12-15 16:39 UTC (permalink / raw)
To: gfp, Guix Help
[-- 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 --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: how can I put the Emacs manifest from a profile to the main profile
2024-12-15 16:39 ` Luis Felipe
@ 2024-12-15 17:42 ` gfp
2024-12-15 21:05 ` Luis Felipe
0 siblings, 1 reply; 9+ messages in thread
From: gfp @ 2024-12-15 17:42 UTC (permalink / raw)
To: Luis Felipe, Guix Help
[-- 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 --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: how can I put the Emacs manifest from a profile to the main profile
2024-12-15 17:42 ` gfp
@ 2024-12-15 21:05 ` Luis Felipe
0 siblings, 0 replies; 9+ messages in thread
From: Luis Felipe @ 2024-12-15 21:05 UTC (permalink / raw)
To: gfp, Guix Help
[-- 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 --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-12-15 21:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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.