Hi Gottfried > I created a manifest for Emacs only. > > After doing it, Guix asked me to set the PATH. > > I did it and after that this Emacs Manifest changed my general profile. > It became my general profile. > I couldn’t use my other programmes any more. > So I had to do a rollback. When you do guix package -m path/to/manifest.scm It shall *replace* the packages in your default profile (~/.guix-profile) with those specified by the manifest. But if you instead do guix package -p path/to/some/profile -m path/to/manifest.scm It shall modify/initialize the profile you specified :) Best, Wojtek -- (sig_start) website: https://koszko.org/koszko.html PGP: https://koszko.org/key.gpg fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A ♥ R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ== | ÷ c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ== ✝ YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ== | ? U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8= -- (sig_end) On Sun, 5 Mar 2023 08:44:15 +0000 Gottfried wrote: > Hi Gary, > > thank you very much for sharing your Emacs manifest. > > I tried to do what you said. > > I created a manifest for Emacs only. > > After doing it, Guix asked me to set the PATH. > > I did it and after that this Emacs Manifest changed my general profile. > It became my general profile. > I couldn’t use my other programmes any more. > So I had to do a rollback. > > 1. > I don’t know what I did wrong. > > 2. > AFAIK to create a manifest is not yet a profile. > I have to create a manifest and then to create a profile with it. > Am I right? > > > 2. > If so, after creating a manifest, which commands do I have to use to > make it a separate profile? > > Probably to generate a manifest and make it a separate profile goes > together, but I don’t know how to do it. > > > Kind regards > > Gottfried > > > > Message: 1 > > Date: Thu, 02 Mar 2023 10:10:38 -0500 > > From: Gary Johnson > > To: Rodrigo Morales > > > > I do manage all of my Emacs packages with Guix. I list `emacs` and all > > of its packages in a manifest file (emacs.scm). It looks like this with > > my custom packages elided: > > > > ``` > > (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-csv-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-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-paredit" > > "emacs-pdf-tools" > > "emacs-pinentry" > > "emacs-rjsx-mode" > > "emacs-shroud" > > "emacs-telephone-line" > > "emacs-treemacs" > > "emacs-vterm" > > "emacs-web-mode" > > "emacs-which-key" > > "mu")) > > ``` > > > > I actually split up all the user packages on my system into manifests > > and isntall each one into its own profile, which I then activate on > > startup. However, that's not really necessary for this example. You can > > install the manifest packages above into your user profile with this > > command: > > > > ``` > > guix package -m emacs.scm > > ``` > > > ~Gary > > >