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 <lambdatro...@disroot.org> To: Rodrigo Morales <moralesrodrigo1...@gmail.com>
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
--
OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature