From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Guix does not understand config.scm Date: Mon, 23 Apr 2018 14:40:54 -0400 Message-ID: <20180423184054.GA27672@jasmine.lan> References: <8736zlu3r0.fsf@guix.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAgOi-0000FZ-2g for help-guix@gnu.org; Mon, 23 Apr 2018 14:41:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAgOd-0000jK-6R for help-guix@gnu.org; Mon, 23 Apr 2018 14:41:08 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:34073) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fAgOc-0000hW-Gs for help-guix@gnu.org; Mon, 23 Apr 2018 14:41:03 -0400 Content-Disposition: inline In-Reply-To: <8736zlu3r0.fsf@guix.i-did-not-set--mail-host-address--so-tickle-me> 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" To: Jone Cc: help-guix@gnu.org --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 23, 2018 at 07:22:43PM +0000, Jone wrote: > This is my new (and wrong) config: >=20 > 1 (use-modules > 2 (srfi srfi-1) > 3 (guix) > 4 (gnu)) > 5 (use-service-modules networking desktop admin mcron) > 6 (use-package-modules base bootloaders ssh) > 7 (operating-system > 8 (host-name "guix") > 9 (timezone "Europe/Moscow") > 10 (locale "ru_RU.UTF-8") > 11 (locale-definitions > 12 '((locale-definition (source "ru_RU") (name "ru_RU.utf8")) > 13 (locale-definition (source "en_US") (name "en_US.utf8")))) > 14 (bootloader (bootloader-configuration > .................................................................... > 24 (initrd-modules (cons* "sata_nv" ;; Nvidia nForce > 25 "pata_acpi" %base-initrd-modules)) > 26 (file-systems (cons* > .................................................................... > 47 %base-file-systems)) > 48 (swap-devices '("/dev/disk/by-uuid/0602935f-4ed2-4805-9ec9-e0c06= 238abf5")) > 49 (users (cons (user-account > 50 (name "jone") > 51 (comment "Jone") > 52 (group "users") > 53 (supplementary-groups '("wheel" "netdev" "audio" "= video")) > 54 (home-directory "/home/jone")) > 55 %base-user-accounts)) > 56 (sudoers-file (local-file (config-file "/etc/sudoers"))) > 57 (packages > 58 (let ((trash (specifications->packages > 59 "zile" "wireless-tools"))) > .................................................................... > 67 %base-packages)))) > 68 (services (cons* > 69 (extra-special-file "/usr/bin/env" > 70 (file-append coreutils "/bin/env")) > 71 (extra-special-file "/bin/sh" > 72 (file-append bash "/bin/bash")) > 73 (xfce-desktop-service) > 74 (service mcron-service-type) > 75 (service rottlog-service-type) > 76 %desktop-services)) > 77 ) >=20 > Next I run 'guix system reconfigure new.scm': >=20 > new.scm:49:9: config-file: unbound variable > hint: Did you forget a `use-modules' form? >=20 > Ok, for test comment section "(users (cons .." and line "(sudoers-file ..= ", > but next again: >=20 > new.scm:26:16: specifications->packages: unbound variable > hint: Did you forget a `use-modules' form? >=20 > Questions: > 1. How to debug config.scm, line by line? Is that possible? > 2. Where can I find the full list of modules for "use-modules"? > 3. And how to fix this config? Can you include your config.scm as an attachment so other people can test it? --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlreKLMACgkQJkb6MLrK fwgY6BAA55uXb2bG6QFZuNaYIL8ANc/hkyGnoUK8TQAemiz74ZwlrI3zxuwyILYc fhIaD6E6NkHaMOJqaJS+paj7xwayi8uyLmYZhVgnp0WRWXFe/ByPicMccpc9Vleb 7L0n9mUjnQQsDnvW2aH1ZUwV7b3SYwojiSfqWTEUZHgbsTQLOuLU9IWlRcwbUZHg 1A/oilLp9ilXkbuOH+IYFgaIqHvpzwsn8dBW2J0O5iElYCTBliHwSkJcm2kjtbt6 Zx6xcG70Rj93S2qe/UwQ3aRC7c8dU5FUbw8M5hNi7klx0cW5Pd9N8JccLez1ie6k rHt9Ka9w/fz5eDgmP0MM6mShyeGqC5UmH0etpS+au7w1bZqWoruSfRNoARSBI78+ pIlecGEErtmFPaI4Q7nu5IyJae48NhP+YfmjcuWmzpv9/DFhzscflQ48KhSuxpUg fXEyXG0+RwhP2q6UrtOwxuRYYbEpMbuFS40l75udZFPwiFAhH1b4BIjX+nD25gBK QhN6jmMCH/BlTIaZGmM6ejz2J53S/WYJuXGCJjzR2HYUw03/h7AKiNZk9jnzn/tm nRe5If8J8ihlyNa5rmIb89FFcGSJth1HTRIDTBUTfIMmbMlN17HROSBHO1vs2x6c sLiMiiOYDhw/+uJKUK5IvHv8i99lfrufOF4j0bc02ol7R2LR9cA= =LyWv -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--