From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jone Subject: Guix does not understand config.scm Date: Mon, 23 Apr 2018 19:22:43 +0000 Message-ID: <8736zlu3r0.fsf@guix.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAeEj-0005TQ-OK for help-guix@gnu.org; Mon, 23 Apr 2018 12:22:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAeEg-0007rT-ED for help-guix@gnu.org; Mon, 23 Apr 2018 12:22:41 -0400 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]:36344) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAeEg-0007qv-6T for help-guix@gnu.org; Mon, 23 Apr 2018 12:22:38 -0400 Received: by mail-lf0-x229.google.com with SMTP id d20-v6so15890406lfe.3 for ; Mon, 23 Apr 2018 09:22:37 -0700 (PDT) Received: from guix ([93.100.210.215]) by smtp.gmail.com with ESMTPSA id j9sm2411690ljc.72.2018.04.23.09.22.34 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Apr 2018 09:22:34 -0700 (PDT) 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: help-guix@gnu.org This is my new (and wrong) config: 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-e0c06238abf5")) 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 ) Next I run 'guix system reconfigure new.scm': new.scm:49:9: config-file: unbound variable hint: Did you forget a `use-modules' form? Ok, for test comment section "(users (cons .." and line "(sudoers-file ..", but next again: new.scm:26:16: specifications->packages: unbound variable hint: Did you forget a `use-modules' form? 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?