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 :)