From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: Configuration System's Handling of Missing Packages Date: Thu, 24 Dec 2015 22:24:08 +0800 Message-ID: <87io3nlybb.fsf@member.fsf.org> References: <87d1twsa22.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC6om-0006lj-03 for help-guix@gnu.org; Thu, 24 Dec 2015 09:24:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aC6oi-0004v6-QX for help-guix@gnu.org; Thu, 24 Dec 2015 09:24:35 -0500 Received: from smtp23.openmailbox.org ([62.4.1.57]:56038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC6oi-0004um-Kh for help-guix@gnu.org; Thu, 24 Dec 2015 09:24:32 -0500 In-Reply-To: <87d1twsa22.fsf@openmailbox.org> (Keith Osterheld's message of "Wed, 23 Dec 2015 21:08:40 -0800") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: Keith Osterheld Cc: help-guix@gnu.org Keith Osterheld 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? =E2=80=9C(use-package-modules xfce)=E2=80=9D is same as =E2=80=9C(use-modul= es gnu packages xfce)=E2=80=9D, it only make the =E2=80=98xfce=E2=80=99 module avaliable (like =E2=80=98imp= ort=E2=80=99 or =E2=80=98require=E2=80=99), but to actually use the 'xfce' package (exported by the =E2=80=98xfce=E2=80= =99 module), you need to add it to the =E2=80=98packages=E2=80=99 field of the =E2=80=98= operating-system=E2=80=99. items (packages, configuration files, etc) will be download or build into the =E2=80=99/gnu=E2=80=99 store when building the =E2=80=99operating-= system=E2=80=99, and packages listed in the =E2=80=98packages=E2=80=99 field will be =E2=80=9Cinstalled= =E2=80=9D into the system profile, aka =E2=80=99/run/current-system/profile=E2=80=99. so, the anwser is =E2=80=9CYes, Guix will install it automatically=E2=80=9D. Errors will be reported if a invalid configuration is used, It=E2=80=99s a scheme file, so syntax and runtime errors may be common :-)