unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Wojtek Kosior via <help-guix@gnu.org>
To: Gottfried <gottfried@posteo.de>
Cc: help-guix@gnu.org, Gary Johnson <lambdatronic@disroot.org>
Subject: Re: Help-Guix Digest, Vol 88, Issue 4
Date: Sun, 5 Mar 2023 11:07:43 +0100	[thread overview]
Message-ID: <20230305110743.4c8e9532.koszko@koszko.org> (raw)
In-Reply-To: <82e1b04c-c8e1-ccfc-04c7-2cfe61fec850@posteo.de>

[-- Attachment #1: Type: text/plain, Size: 4191 bytes --]

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 <gottfried@posteo.de> 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 <lambdatronic@disroot.org>
> > To: Rodrigo Morales <moralesrodrigo1100@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
> >   
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2023-03-05 10:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.81.1677776445.12246.help-guix@gnu.org>
2023-03-05  8:44 ` Help-Guix Digest, Vol 88, Issue 4 Gottfried
2023-03-05 10:07   ` Wojtek Kosior via [this message]
2023-03-05 13:27     ` Gottfried
2023-03-06  1:35   ` Gary Johnson
2023-03-07 16:15     ` Gottfried
2023-03-08  1:58       ` 宋文武
2023-03-20  7:04     ` Gottfried
2023-03-21 14:42       ` Gary Johnson
2023-04-07 13:02         ` Gottfried
2023-04-07 14:31           ` I am sorry " Gottfried
2023-04-15  2:08             ` Tracker

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=20230305110743.4c8e9532.koszko@koszko.org \
    --to=help-guix@gnu.org \
    --cc=gottfried@posteo.de \
    --cc=koszko@koszko.org \
    --cc=lambdatronic@disroot.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).