From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IPelBmFmXmT3uQAASxT56A (envelope-from ) for ; Fri, 12 May 2023 18:16:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wHVVBmFmXmQvKQAAauVa8A (envelope-from ) for ; Fri, 12 May 2023 18:16:33 +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 96CD939492 for ; Fri, 12 May 2023 18:16:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxVRR-0006i3-9Q; Fri, 12 May 2023 12:16:27 -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 1pxVRD-0006gI-1I for help-guix@gnu.org; Fri, 12 May 2023 12:16:15 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pxVR8-000586-QB for help-guix@gnu.org; Fri, 12 May 2023 12:16:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=ea78lD2rvuaID4/ Ngdxajz3bA8DwLi/M3T5HIqX37yE=; h=cc:to:subject:date:from:in-reply-to: references; d=lease-up.com; b=frF3pY1YT+PL1lQwXIevXQZAjB6wbv4ey2gm6V5I DG9qiwZ+ZAN+yeMhHxextheqoEldnO+teCR+b6+7CIZR+VRU7kmN1NFkbQrZPQyTuF9Cwv 7/7GbQDUmFazuUZ3t+epfkym81E2/hWDhcDJaEmF7h1ZaLnEjOsRxfKe0vMh0= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 2c2801c2 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Fri, 12 May 2023 16:16:02 +0000 (UTC) Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-4efe8b3f3f7so11552997e87.2 for ; Fri, 12 May 2023 09:16:01 -0700 (PDT) X-Gm-Message-State: AC+VfDy5FFQLUGYQpa8a5ok35JAXmGU6PA572sgnEsN3cfeln9fh5fsK ah+c3UyAsjfFM24Qlcz2kb6CWvk1yM5QMQcN8m4= X-Google-Smtp-Source: ACHHUZ5OPejtARuB+njXmtwSrDbyGigAjC7LWRrncaZgW7U8/CualhgJUFG4NDa95UUFuENu8QvVRiViFT2MDj4qSWU= X-Received: by 2002:ac2:41c5:0:b0:4dd:9a38:fcc with SMTP id d5-20020ac241c5000000b004dd9a380fccmr3619613lfi.63.1683908159951; Fri, 12 May 2023 09:15:59 -0700 (PDT) MIME-Version: 1.0 References: <4479a895-f3a8-ef4d-8c16-6024f905fe77@posteo.de> <37a4003a-7de3-5b1b-4a27-5542a199704c@marioforzanini.com> In-Reply-To: Date: Fri, 12 May 2023 09:15:23 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: unbound variable in attempt to install "lightdm" To: Gottfried Cc: Mario Forzanini , help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-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: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683908192; a=rsa-sha256; cv=none; b=ESB9pbFb7zhbOTlGMUPkf0rRDuh/OqZ4GaIROwonlhgQZmPsyrGlprnU8tXbwqASZJZHvr xvyMWwEFjifvUahfahjCyo6rq6hStiNsXn2NJtdTyLBDI1SqrHe8uygpKodVxjKjwwFjlz pTvfTyBzzkx4YRbzgJ7CiHBojPjfXvH3sCjsujgZVv4hwqsfN75NHmL7TjUSECpegq/4JM 52xCLp3jL3iv1llFYmz1ec7ViOsXe5mbc5G15i5LhloJR7OytQIw9sFHbd5gQ1DIbaf5Uw hrPPzY30EXoiO3QGAfAU+ICUyFWfGorZvfZnOcJa6SlRxb1NV8JhH5JPIb7+pQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=frF3pY1Y; dmarc=pass (policy=none) header.from=gnu.org; 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=1683908192; h=from:from:sender:sender:reply-to: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=AN212ly2dqgDvivQyk/2tsL/oSY+DYBjKxSwKq+5uks=; b=dl4m89udz1c1nt3fzYohp4efG4AILocnSlvsSM1ev2Q8Sjk+3fPjMsB9HzRIpkW1ceI/vv XmEKjoVTBrWBL1ifZm56JKZt/3sV2Ax0q12nUz+aHQxlpEhwB/qT/1IuWSANcJQGQzumnT OaDpLOFxQVvctn2Doz2L4SRa2cLDY5mZ+NHEoDQB1bvsSTz95Z3TeTXh30ehX5n5j3BN3B KbP4txzyFPMyEft5W5YApWMn4HgVinjQaYUV5Ov5SVbVB34Iu7jpmBjfblHsXKXOXm3WzH fMkb4XHXuLK6KmR8RbRESViiM6mXC8GwrnTiyRSrJCWOfnkKCjMMZ7X5TtgVXw== X-Migadu-Spam-Score: -2.71 X-Spam-Score: -2.71 X-Migadu-Queue-Id: 96CD939492 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=frF3pY1Y; dmarc=pass (policy=none) header.from=gnu.org; 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-TUID: t6Vc0r+9djaA Hi Gottfried, On Fri, May 12, 2023 at 8:50=E2=80=AFAM Gottfried wro= te: > > So can I have both installed? It's possible to have the packages for two display managers installed at the same time, but the system can only be configured to use one at any given time. Guix services do both: They install the package and cause the display manager to control your graphical devices. That's why you can only use one Guix service at a time. I believe that %desktop-services already configures a gdm-service-type for you because that's the standard graphical login manager we provide in Guix. That's why you should drop gdm-service-type from %desktop-services when adding lightdm-service-type. I believe that is the source of the error message you saw. I do not use %desktop-services personally, but also drop some services from %base-services. You can see how I did that here. [1] You basically have to replace the expression %desktop-services in your list of services with something like (modify-services %desktop-services (delete gdm-service-type)) At first sight, it does not look very intuitive, but you can make sense of it with a functional programming perspective. (Functional programming is a reason why many of us prefer Guix over other operating systems.) When the expression inside outermost parentheses is executed, you get a modified %desktop-services without gdm-service-type. I believe that's what you want and need. I am kind of new here, however, and am happy to defer to more experienced Guix users and developers. Kind regards Felix [1] https://codeberg.org/lechner/system-config/commit/42ecb69ff9ca0af7739e3= c51a5d368aaa6e6d218