help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem using multiple manifest files


From: Ricardo Wurmus
Subject: Re: Problem using multiple manifest files
Date: Sat, 13 Oct 2018 06:08:05 +0200
User-agent: mu4e 1.0; emacs 26.1

Hello Thaddäus,

> Hello Guix community,

welcome!

> When I use "guix package -m emacs.scm" it installs the packages and they
> are available. When I then install the next manifest file's packages, the
> "emacs.scm" packages are no longer available – the links in
> "~/.guix-profile/bin" have been removed.
>
> Am I correct in assuming, that only one manifest file can be installed at a
> time, thus all package definitions have to be in one file (or at least
> imported into a main-package-file)?

Yes, this is correct.  A manifest declares the contents of a single
profile.  By passing a manifest file to “guix package -m” you tell it to
only install the declared packages and remove everything else.

You can instantiate different manifest to different profiles by also
passing “-p /path/to/other/profile”.  You can combine them in a session
by source-ing each of the profiles’ “etc/profile” files.

> Also: If I have more (beginner) questions, should I drop them all in one
> mail or create separate threads

It’s better to send separate emails.

--
Ricardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]