From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SPhhNaS22GHSNAAAgWs5BA (envelope-from ) for ; Fri, 07 Jan 2022 22:54:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aCESMqS22GFFWAAAauVa8A (envelope-from ) for ; Fri, 07 Jan 2022 22:54:44 +0100 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 866FC2B524 for ; Fri, 7 Jan 2022 22:54:44 +0100 (CET) Received: from localhost ([::1]:55688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5xC7-0006Fk-A8 for larch@yhetil.org; Fri, 07 Jan 2022 16:54:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5wwj-0007PF-0k for help-guix@gnu.org; Fri, 07 Jan 2022 16:38:53 -0500 Received: from mail2.fsfe.org ([213.95.165.55]:57044) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5wwd-00009k-1l for help-guix@gnu.org; Fri, 07 Jan 2022 16:38:44 -0500 From: Jelle Licht DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021081301; t=1641591515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=a5FYz2XHLjspZiDY9T1zZTgnMT6ulYo3yQx62AWUSPg=; b=ASt2ZefaV+/L4spz+DaHLU3yxHwz+Dn0Ym0y3xwwmkom41+Ouq1e9LIH19gvMTHBf5xYuv DTh+013u/HoXCNEdhztqjsqqkV56ctP0/oHtgSkCOxFWG6chAvZGrnnpEO9Bk206Ci4gGr ViMWxBrObr6H3ReBwaW5Xo769Cs2hJ0= To: Roland Everaert , "help-guix@gnu.org" Subject: Re: i18n guix module error when opening shell after guix home reconfigure In-Reply-To: References: Date: Fri, 07 Jan 2022 22:38:34 +0100 Message-ID: <86lezr8bvp.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=213.95.165.55; envelope-from=jlicht@fsfe.org; helo=mail2.fsfe.org 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 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641592484; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=a5FYz2XHLjspZiDY9T1zZTgnMT6ulYo3yQx62AWUSPg=; b=q0+yJuDt4Q/Fkt6kKJ7o10cYcYf4eOnR6rD71dIRskLCaNBrO9NpuMwkmbLufIXocsf44N iW8hrLZ2SeDgKOy6Q7CYqfFc0C12nddeqrLtCbTmFxVZb+NDR4GLmZzNMddjNdJvyeHfvH EEjYDkAUUY0XxvU9o3qpTc/xuYYfV2x9YsdfKOBfnl+TeSBtBB6u1eE7a/WSRaCesJgwT6 PJ0i+S5TGZunJy+6XjwAufkOSnpBHCG0FBkb7xn1tn6M3fD6gH7GkrpeSOLTw4GtSquwJ8 Jd8VuSmfWRzcbansnY8P8WIMMjobNU1V1Yohi9wYRcxxLy9Eykyk/wcoJoWUow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641592484; a=rsa-sha256; cv=none; b=ak/poV3YjmrUqw1E7Te6Doym43i/0eLDjFGkexvEdx/7kYWjb8nyTUDo6j4THt1Da3boMP 0WrGGItt6f05e/rpylanaBqVSWuGjok1fgrD5ytkZF3rvrx3IgzNeV0f3gtBfdVyixZIrv 5oeV7UMl4PnCKHe4mCXRGmypUd0IObIMuWcxdhv+A5eOiZQnARgtWBSep6epPlS+lJucmR BCM0XRbi5dpvzhCFU/5bg/VV0Q2Ei6RPYopdBcRxmjkrhDylPZXw2sJ173CPizCh3xlJc2 3YDU40TiSXsY89B+mRzMBvs+5GsjF3e2b14Zl9mqHKIWAdbojdLK1ICR+4SPjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fsfe.org header.s=2021081301 header.b=ASt2Zefa; dmarc=pass (policy=none) header.from=fsfe.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-Migadu-Spam-Score: -6.30 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fsfe.org header.s=2021081301 header.b=ASt2Zefa; dmarc=pass (policy=none) header.from=fsfe.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-Migadu-Queue-Id: 866FC2B524 X-Spam-Score: -6.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: VBx/ba7OPUig Hello Roland, Sad prefix: I don't have a solution for you, nor am I a guix home expert, but I can confirm that I also run into the issue.=20 On my VM, I actually used an almost-default bash configuration, but run into the very same issue. Roland Everaert via writes: > Hello, > > First, happy new year and best wishes for this year. > > I have updated my guix home configuration to use my zsh config instead of= a blank bash configuration. > > Unfortunatelly, when I logout and login again, I face the following error= s: > -------------------------------------------------------------------------= ---------------- > Backtrace: > 9 (primitive-load "/home/roland/.guix-home/on-first-login") > In ice-9/eval.scm: > 721:20 8 (primitive-eval (begin (use-modules (guix i18n)) (# =E2=80=A6) = =E2=80=A6)) > In ice-9/psyntax.scm: > 1230:36 7 (expand-top-sequence ((begin (use-modules (guix =E2=80=A6)) =E2= =80=A6)) =E2=80=A6) > 1090:25 6 (parse _ (("placeholder" placeholder)) ((top) #(# # =E2=80=A6))= =E2=80=A6) > 1222:19 5 (parse _ (("placeholder" placeholder)) ((top) #(# # =E2=80=A6))= =E2=80=A6) > 259:10 4 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) =E2=80= =A6) > In ice-9/boot-9.scm: > 3927:20 3 (process-use-modules _) > 222:17 2 (map1 (((guix i18n)))) > 3928:31 1 (_ ((guix i18n))) > 3329:6 0 (resolve-interface (guix i18n) #:select _ #:hide _ # _ # =E2=80= =A6) > > ice-9/boot-9.scm:3329:6: In procedure resolve-interface: > no code for module (guix i18n) It seems that my $HOME/.guix-home/on-first-login assumes that guix's guile modules are available to the guile interpreter that is listed in the shebang; > -------------------------------------------------------------------------= ---------------- > > However, the command guix home reconfigure home-config.scm does not gener= ate any error, so I don't understand why guix complain about a missing modu= le related to internationalization. > > I am using guix, the package manager, on a Fedora 34 distribution. > > Below is my home-config.scm file content: > > -------------------------------------------------------------------------= ---------------- > (use-modules (gnu home) > (gnu home services) > (gnu home services shells) > (gnu services) > (gnu packages admin) > (gnu packages python-xyz) > (gnu packages password-utils) > (gnu packages dunst) > (gnu packages disk) > (gnu packages backup) > (gnu packages libreoffice) > (gnu packages guile) > (gnu packages xdisorg) > (gnu packages tls) > (gnu packages vpn) > (gnu packages terminals) > (guix gexp)) > > (home-environment > (packages (list htop glances password-store dunst ranger restic hunspell > ;; hunspell-dict-fr hunspell-dict-en > ;; guile > neofetch xdotool openssl openvpn xscreensaver alacritty)) > (services > (list > (service home-zsh-service-type > (home-zsh-configuration > (xdg-flavor? #t) > (zshrc (list (local-file "zshrc")))))))) > -------------------------------------------------------------------------= ---------------- > > Any idea what might cause such trouble? If you are not worried about temporarily running some older software, could you try and see if running: --8<---------------cut here---------------start------------->8--- guix time-machine --commit=3D2719dfa631 -- home reconfigure your-home-confi= g.scm --8<---------------cut here---------------end--------------->8--- works for you? This will get guix to use an older copy of itself to build and 'install' your home environment. Thanks! - Jelle