From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aOtKKnxZXmQSaAAASxT56A (envelope-from ) for ; Fri, 12 May 2023 17:21:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SBpRKXxZXmSDhAAAG6o9tA (envelope-from ) for ; Fri, 12 May 2023 17:21:32 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 63272F46F for ; Fri, 12 May 2023 17:21:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxUZj-0007h9-P6; Fri, 12 May 2023 11:20:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxUZh-0007gk-PX for help-guix@gnu.org; Fri, 12 May 2023 11:20:54 -0400 Received: from marioforzanini.com ([2a05:f480:1c00:436:5400:4ff:fe01:c56f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxUZf-0003qF-U5 for help-guix@gnu.org; Fri, 12 May 2023 11:20:53 -0400 Message-ID: <37a4003a-7de3-5b1b-4a27-5542a199704c@marioforzanini.com> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marioforzanini.com; s=mail; t=1683904848; bh=VnH7tRZ3OI2AC8xjudgx1O3jPQfRfZyQC3TUzIC35vE=; h=Date:Subject:To:References:From:Cc:In-Reply-To:From; b=gBuRhZUU7624PSjlc4afjsHne+SI1eEFPDTnPXCzw2jWzz0jWG7ByNiqEySW0cE0i nTepBvTq2kxQ7+APKuVe4SNgqBjwdNnoXvwcSZKJ0RgdzZp2Gv0snbyHlpE7NiIslc VGwV5dUz6z4pPcMM6HArQttZz87G74WPAN4xrq8xWu4gKdWR+spgKzAUXwSSPnriHj qaG0qdHpBKRbkhxreKtxD5/Qelw7LMdqkbICMhMDvn6XuiXLtsFD/NKI2h/bHPcr98 SqHyVXU4J9KakgA+n1G5z+rVh7FdM7t8YedB89a4zRyBkNJJeaeQpMSwJ3MCbPfKAN rDrz9DU4k8eEw== Date: Fri, 12 May 2023 17:20:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: unbound variable in attempt to install "lightdm" To: Gottfried References: <4479a895-f3a8-ef4d-8c16-6024f905fe77@posteo.de> Content-Language: en-US, it From: Mario Forzanini Cc: help-guix@gnu.org In-Reply-To: <4479a895-f3a8-ef4d-8c16-6024f905fe77@posteo.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2a05:f480:1c00:436:5400:4ff:fe01:c56f; envelope-from=mf@marioforzanini.com; helo=marioforzanini.com X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-1.845, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683904892; a=rsa-sha256; cv=none; b=GBA7XLqNgHLOm+YVLLyL7tMm2cGyNrGMvkrG+mUfhHR/nW7LO/othEqlMwuopVrJ0Eite8 lg0RiElNLZOxk7o/TmL295tMuT95NoDSf4rq1URP8tb9C+sZeaWWKk92LfIJbj5G8l7KRh pKbPD291Sck7hIBMCCI2ngSHCyusRqQVv4wj8z9pbu8BiF9XMDlBeoyDYwT1sspP1ke0Mo gxFCaKx17PPhGQoEU5CrXw0f5Fk/W1HRoMaYkNwGeyiORbErx/44TGhUkpqDDujtTEhDW2 iX+bBNKSmf9kPNzv1D4yAiuhp4cIrP6rxYq22Figvg/5T89eNEzkX79V4BqNGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=marioforzanini.com header.s=mail header.b=gBuRhZUU; dmarc=pass (policy=reject) header.from=marioforzanini.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683904892; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UBGFOtBhe+wh1Ejb/cPgTqjFgEjY8MCftcOunFzOYGI=; b=Bf6RFO/aboge/JIbn580uow6n4S34T4t0BaZT8lvVIlzZh/cfPuLTX83+gn++sKU0Ymhqd MRuooOfiUtuOPbJU/XknpgrfOG6EnCIvc/y00/l3OPXlUc2zOOLc2aLI+Yz4FBNYk4E/YC p9ad3Qavoaw/avaPuxTHn2mgDuE+/8zmflLgcz9kYejwAYdmwXjAuJMOrItNZT8lsu1gDj 42YyD0hg3ATwY3K6H3DwoJIpptl5tRCbIxtXa5+VUjZSiqtlTJAz9SW5oqFyx6iI4slOLE e1r8YxzXvH0KokG6lGJn5T8jA2+L+vP9+NQgYybmtsPKBDGBO16K/qQJENEwaQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=marioforzanini.com header.s=mail header.b=gBuRhZUU; dmarc=pass (policy=reject) header.from=marioforzanini.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.18 X-Spam-Score: -4.18 X-Migadu-Queue-Id: 63272F46F X-TUID: ze27G3g+naxH On 5/12/23 5:05 PM, Gottfried wrote: > Hi, > > I managed to update my packages in my default profile without updating > "caja-extensions" > > So now I would like to install "lightdm" > ---------------------------------------------------------------- > I added one line in my config.scm: > >  (services >     (append >       (list (service mate-desktop-service-type) >             (service enlightenment-desktop-service-type) >             (service xfce-desktop-service-type) >             (service lightdm-service-type) >                         (service cups-service-type >                                 (cups-configuration >                                         (web-interface? #t) >                                         (extensions (list cups-filters > hplip)))) >                         (service openssh-service-type) >             (service tor-service-type) >             (set-xorg-configuration >               (xorg-configuration >                (keyboard-layout keyboard-layout))) > > ------------------------------------------------------------------ > > running sudo guix system configure.. it gives me those messages: > > > gfp@Tuxedo ~$  sudo guix system reconfigure /etc/config.scm > Passwort: > Backtrace: >           18 (primitive-load "/home/gfp/.config/guix/current/bin/guix") > In guix/ui.scm: >    2300:7 17 (run-guix . _) >   2263:10 16 (run-guix-command _ . _) > In ice-9/boot-9.scm: >   1752:10 15 (with-exception-handler _ _ #:unwind? _ # _) > In guix/status.scm: >     859:3 14 (_) >     839:4 13 (call-with-status-report _ _) > In guix/scripts/system.scm: >    1277:4 12 (_) > In ice-9/boot-9.scm: >   1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) > In guix/store.scm: >    659:37 10 (thunk) >    1298:8  9 (call-with-build-handler # …) >   2168:25  8 (run-with-store # …) > In guix/scripts/system.scm: >     843:2  7 (_ _) >     717:8  6 (_ #) > In gnu/system.scm: >   1298:19  5 (operating-system-derivation _) >    835:11  4 (operating-system-services #< kernel:…>) >    869:20  3 (services _) > In /etc/config.scm: >     30:21  2 (services #< kernel: #) > In ice-9/boot-9.scm: >   1685:16  1 (raise-exception _ #:continuable? _) >   1685:16  0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > Fehler: lightdm-service-type: Nicht gebundene Variable > gfp@Tuxedo ~$ JavaScript error: > resource://gre/modules/LoginManagerChild.jsm, line 250: > NS_ERROR_FAILURE: Component returned failure code: 0x80004005 > (NS_ERROR_FAILURE) [nsIAutoCompleteInput.popup] > ---------------------------------------------------------------------------- > > it seems that I need to add something in my config.scm concerning lightdm. > > Unfortunately I don’t know what to add. At the beginning of the file there should be a list of imported modules, you should add something like (use-modules (gnu services lightdm)) Which is the Guile module in which the symbol `lightdm-service-type' is defined, without that Guile won't know how to relate that symbol to any meaningful value. If you want to find where a service is defined you could use the emacs interface for Guix: typing 'M-x guix RET s a' gives you a list of clickable service names, when you click on one of them useful info pops up. There's probably a way to do it with the command-line interface, but I'm not familiar with that. I hope this helps :) -- Mario