From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SMGLM08VBWZxEwEAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Mar 2024 07:59:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id SMGLM08VBWZxEwEAqHPOHw (envelope-from ) for ; Thu, 28 Mar 2024 07:59:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b=K9mWU7eD; 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"; dmarc=pass (policy=reject) header.from=laesvuori.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711609167; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BQSQzCPVtT71cN5KFbcmmHTDZ5y0jec936q/k4Dnarg=; b=un1kp3F923KBPqleQ8vHVkVSUsaKh4Q4flrj/fGlklQNZYs+I+QQlADwz+Og5iTLExuKaM 5URK8NdQKDJCtNLCZ98uSj4RaFGtDvb6ASFbwrIfnPtN70Z+CuoGFxAlOpNGqXlTvREGLz VFN09gqB0CfkYwKHt4jzT/EGItj5eV9S2fS0hBezf36QilbdA8XFje9vFJ5jD6OsB2iq42 vjMQ2j8/sONRJ27IGOv9FgOQgZqzhh2wxLiMZlGo/KlrKIwU7KWfY+uyMD+toFaqVEieQT dYWniYipUFAKGoPwZBwwySoKHaPaJbmbLFzy16hw7IEP3KBZ4jdf8NPdnCtUsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b=K9mWU7eD; 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"; dmarc=pass (policy=reject) header.from=laesvuori.fi ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711609167; a=rsa-sha256; cv=none; b=paGEbKLoPgdZQDSJy1GwWtXAugec5aAwEO/ozWH0M8WXOMkrdl0NUG6EG2BS/9wydbZHss lMaLquwtPdNwHlObjjFVJuG/tqWV5o8WWrHo4iHejCd59NnISfSSPqyBgNUH2k0A0efEHg WVjFKcdHIFzaUOkX7ElEZjYlBOhJ11qEYNHKcARw6APJ4C5+AE0hU2S1RPiCsicb/S97LY eSTG+fmENnUPktV3ygzdwHO68SXTxLUXHPYTM18UMS+R2bipJ+ITi18ds1zzqRePo403Tg 0RlyuL/SYXo26l9JGlzeDwhy2b/VZRaRTN0mhL6ag5iNrKR/soR9jtrl5slU9A== 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 7F70E6BA0C for ; Thu, 28 Mar 2024 07:59:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpjiv-0003GL-TF; Thu, 28 Mar 2024 02:58:53 -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 1rpjiu-0003GD-Ic for help-guix@gnu.org; Thu, 28 Mar 2024 02:58:52 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpjiq-0007hL-W7 for help-guix@gnu.org; Thu, 28 Mar 2024 02:58:52 -0400 Received: from X-kone (unknown [185.50.245.18]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 46C1234367E; Thu, 28 Mar 2024 07:58:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1711609133; bh=v3IEFN0SIi8i2va0ecjJYO6jVdf9qgUEFgzkDD76Tr4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=K9mWU7eDYg8R/logfrKkrBV8kFzKjNvyWbDGIa2B6cWujM4DY5mpVv68UT7Uwkfsn dsL5TP29gOMITbhqVCz+oJM011ViaxVpLhKogh6s9KPRPLXiu1ExWsSnbEPiVm4zJU jwRCRIow3fm+UJF0at5zEopvvTjAROAef8yf2OSM= Date: Thu, 28 Mar 2024 08:58:43 +0200 From: Saku Laesvuori To: "hubert.lombard@ik.me" Cc: "hubert.lombard@ik.me\" via" , Richard Sent Subject: Re: hurd-vm-service-type into /etc/config.scm Message-ID: References: <1ce28a7110c8c05078d2af421772de13@mail.infomaniak.com> <87il1m2p1q.fsf@freakingpenguin.com> <178cd47b36dd1ecf6dd97df742b3fce6@mail.infomaniak.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2b4urinndigbkdsw" Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi 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_PASS=-0.001, SPF_PASS=-0.001 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 7F70E6BA0C X-Spam-Score: -7.65 X-Migadu-Spam-Score: -7.65 X-Migadu-Scanner: mx10.migadu.com X-TUID: ua4dmSLoa23F --2b4urinndigbkdsw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 27, 2024 at 11:21:11AM +0100, hubert.lombard@ik.me wrote: > Hello o/ >=20 > Further investigations to insert the hurd-vm in /etc/config.scm In my > attempt at config.scm, inspired both by my own file and from examples > found on the Internet, I've tried to use (define %my-gnome as well and > (modify-services %desktop-services, knowing that I'm missing at least > 1 module related to the package list. I've tried several, but I can't > figure out which one (or which...) >=20 > $ sudo guix system reconfigure /etc/config.scm >=20 > --8<---------------cut here---------------start------------->8--- > ce-9/eval.scm:223:20: In procedure proc: > erreur : packages : variable non li=C3=A9e > conseil : Auriez-vous oubli=C3=A9 un `use-modules' ? > --8<---------------cut here---------------end--------------->8--- >=20 > As I only use Guix System, I'm aware that I'd better build myself a a > virtual machine to test this kind of configuration. Secondly, I'm also > aware that even if my (use-modules) field was satisfied, there might > still be other problems... >=20 > Here's the failing test, what do you think? >=20 > /etc/config.scm >=20 > --8<---------------cut here---------------start------------->8--- > (use-modules > (gnu) > (gnu services) > (gnu services base) > (gnu packages gnome) > (gnu packages) > (gnu packages base) > (gnu system nss) > (guix utils) > (gnu services cups) > (gnu packages certs)) ;;Maybe some modules not relevant here ?... >=20 > (use-service-modules desktop networking ssh xorg cups virtualization soun= d) >=20 > (use-package-modules bootloaders certs cups gnome xorg linux vim scanner = screen ssh wm audio) >=20 > (operating-system > =C2=A0 (locale "fr_FR.utf8") > =C2=A0 (timezone "Europe/Paris") > =C2=A0 (keyboard-layout (keyboard-layout "fr")) > =C2=A0 (host-name "gnu") > (users > (cons* (user-account > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(= name "hubert") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(= comment "Hubert") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(= group "users") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(= home-directory "/home/hubert") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(= supplementary-groups > '("wheel" "netdev" "audio" "video" "kvm" "lp" "cdrom" "scann= er"))) >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0%base-us= er-accounts)) > (bootloader (bootloader-configuration > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (bootloader grub-efi-bootloader) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (targets (list "/boot/efi")) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (keyboard-layout keyboard-layout))) > (swap-devices > (list (swap-space >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (target= (uuid "527ab16b-d20c-4269-bc6f-8910ef3f8c5e"))))) =C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 > (file-systems > (cons* (file-system > (mount-point "/boot/efi") >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0(device (uuid "1C82-1420" 'fat32)) >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0(type "vfat")) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(file-system > (mount-point "/") > (device (uuid "e4fb3e05-b455-40db-bc59-4d4d011e1e01" 'ext4)) >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0(type "ext4")) > %base-file-systems))) > (packages > =C2=A0 (append > =C2=A0=C2=A0 (list nss-certs ;for HTTPS access > =C2=A0=C2=A0 =C2=A0=C2=A0 vim ;some tools expect it to be there > =C2=A0=C2=A0 =C2=A0=C2=A0 gvfs ;for user mounts > =C2=A0=C2=A0 =C2=A0=C2=A0 openssh > =C2=A0=C2=A0 =C2=A0=C2=A0 cups > =C2=A0=C2=A0 =C2=A0=C2=A0 foomatic-filters > =C2=A0=C2=A0 =C2=A0=C2=A0 hplip > =C2=A0=C2=A0 =C2=A0=C2=A0 sane-backends > =C2=A0=C2=A0 =C2=A0=C2=A0 ijs > =C2=A0=C2=A0 =C2=A0=C2=A0 ghostscript) > =C2=A0=C2=A0 =C2=A0%base-packages)) >=20 > =C2=A0=C2=A0(define %my-gnome > (package > (inherit gnome) > =C2=A0=C2=A0 (name "my-gnome") > =C2=A0=C2=A0 (propagated-inputs > =C2=A0=C2=A0 (modify-inputs (package-propagated-inputs gnome) > =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0(delete "epiphany") > =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0(delete "evolution") > =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0(delete "gnome-weather") > =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0(delete "simple-scan") > =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0(delete "gnome-maps") > =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0(delete "gnome-boxes") > =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0(delete "gnome-console") > =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0(delete "gnome-contacts") > =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0(append gnome-terminal)))) > =C2=A0=C2=A0 %my-gnome) I suspect this define here. Firstly, it should be outside the operating-system record. Here it means a field named 'define' which is clearly not intended. The %my-gnome at the end will also cause problems later as now %my-gnome is defined as a package record (that is not stored anywhere) and as %my-gnome, which will cause nonterminating and useless recursion. You might also have to import (guix packages) to construct package records. - Saku PS. Your email client adds empty rows between every row of text, which makes it hard to read. If there is a setting to control that or to omit the HTML part completely (I'm assuming the problem is caused by converting HTML-first emails to text form), you could try to turn it off. --2b4urinndigbkdsw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmYFFSIACgkQJX0oSiod OjIj9Q/9HS5wwJKYfyI5SxFuamtCIifrZpnoMRnZ34YaKpDAy+Fs+uzjXCyFZmCy mk9GDUFr+JA9vgRQNbZzVuUWsXaU9d2Jj5frt13OESTOoUR7c3YG5shPq9BcN6xh R3rsuQHj6PIGoof6csBYqt+ked0FUA/HmrE0BRZzsGB8O3ICSLB3Q6leJ5fmxFCe kIKotKtPWYHsx2Xnq/5WlTMuwaMk9wWh8tCtcLEShMoAVcsZxFMlmSmF/rO24CJe PKTlJi+FoIi174k1qx7nhzZElSBBW76A57ybTecoAXyFiQhMBZeUCg/Pv4GVV4PA sN6lWfuUPHFAAK3zlJdGs0rX/rnAXJr2TGDPmGY0VM91UBX3Ztfg5yMofLC8eBNg iPsvQ2w/iK0LL02bQCron2hGCMC8qq5N2SlLSZYyQ0xxWz+LjBzcNtpxE6A0xw2/ 7rpkwPpU4J7GVBo5ltvXUOwXqC0GGzOHXTcCS6Tcr6HF3dPa8sI5HNA4a11NAzzO seis2R/7apf2rmBs1bRX6urMj+pwQdhebQyvParo3ZTKkCg2uX7Iptqx4Z6roAvM ilmsBq00lF0aTaxag8egW/QjyymHVugPCilhNogMzR6JGHoxY94YtdPWXdhmbn5H y+9K/Sa9rQnQwDKpK9BOetvE25PF/G2Co9GIVPY0E5Y+n8EPJ/c= =/gOV -----END PGP SIGNATURE----- --2b4urinndigbkdsw--