all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: iyzsong@member.fsf.org (宋文武)
To: Keith Osterheld <keitho@openmailbox.org>
Cc: help-guix@gnu.org
Subject: Re: Configuration System's Handling of Missing Packages
Date: Thu, 24 Dec 2015 22:24:08 +0800	[thread overview]
Message-ID: <87io3nlybb.fsf@member.fsf.org> (raw)
In-Reply-To: <87d1twsa22.fsf@openmailbox.org> (Keith Osterheld's message of "Wed, 23 Dec 2015 21:08:40 -0800")

Keith Osterheld <keitho@openmailbox.org> writes:

> Hi,
>
> How does the configuration system handle references to packages that
> aren't installed? For example, if I add (use-package-modules xfce) to my config file
> but I don't have xfce installed, will guix automatically install it, or
> will it throw errors?
“(use-package-modules xfce)” is same as “(use-modules gnu packages xfce)”,
it only make the ‘xfce’ module avaliable (like ‘import’ or ‘require’),
but to actually use the 'xfce' package (exported by the ‘xfce’ module),
you need to add it to the ‘packages’ field of the ‘operating-system’.

items (packages, configuration files, etc) will be download or build
into the ’/gnu’ store when building the ’operating-system’, and packages
listed in the ‘packages’ field will be “installed” into the system
profile, aka ’/run/current-system/profile’.

so, the anwser is “Yes, Guix will install it automatically”.
Errors will be reported if a invalid configuration is used,
It’s a scheme file, so syntax and runtime errors may be common :-)

  parent reply	other threads:[~2015-12-24 14:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-24  5:08 Configuration System's Handling of Missing Packages Keith Osterheld
2015-12-24 13:46 ` Efraim Flashner
2015-12-24 14:24 ` 宋文武 [this message]
2015-12-27  7:36   ` Keith Osterheld
2015-12-27 10:11     ` Ricardo Wurmus

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87io3nlybb.fsf@member.fsf.org \
    --to=iyzsong@member.fsf.org \
    --cc=help-guix@gnu.org \
    --cc=keitho@openmailbox.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.