From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kG0INiUOxWZMOgAAe85BDQ:P1 (envelope-from ) for ; Tue, 20 Aug 2024 21:44:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kG0INiUOxWZMOgAAe85BDQ (envelope-from ) for ; Tue, 20 Aug 2024 23:44:05 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=oSzUwLV5; dkim=pass header.d=wolfsden.cz header.s=mail header.b=oSzUwLV5; 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=none) header.from=wolfsden.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724190245; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OuSZyWY3grJ3AQdDGdoQ7YBpd1OHPelGpmDfjtef2/8=; b=hecotiHb6ePatmPnND9Ya0RTe8q1PTcIGqkdX7M/b4qCshe3wR8VlOxl7VtjkhTRJlC2Bh eQvvV/L4/n1JmNeI+P3mPakzT+wjBC71Yn00jPn5WmG/AgOPi5E90HR9Y3sWv873LoO12N CdsRkbqdv7mPGKEW+BsdTC7EKQZVz+MB0oLGSEc/k2EaWSPkGeerzCyte50U9Rv8bvFgB3 hua462pMPmc/vYXRBoJCjTqsqDdwNgMUS3jvjDpywPytZshO5h4wnUhdyiguny7vA5syTD GC15G7IACud5E2oq3NRfJkuuwDmu+hridIkSFUDsuqKGNh4oaYEfSsjbsC1RRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=oSzUwLV5; dkim=pass header.d=wolfsden.cz header.s=mail header.b=oSzUwLV5; 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=none) header.from=wolfsden.cz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724190245; a=rsa-sha256; cv=none; b=Je9NoesZ7/g6eKbtEpNUR8zJc6LWHhy0OoDISFhO1F7Le6N9Zgg0fPGfM/kSqcI64uxvoD gIBxFEzSewwxxRm5GEwyXqX3a01W3qLoin2/RPXhD5v+YxlnVJUwBu6tPWrzjak/25xgC2 DDQ5uktW1SKmmimIMgJMlF/5iqMH6hc/saMPiqJB/sBvVV7Zr+CYBybNY2/idSM/Uzz3rP JH+bzJNrDBtT+4UerRgqgHxU8D8nFkY/CDTFKxMS5L4bMZI7g5xI6J/JIWFgcVY8CbtgWg T7Jicj8ltWKH3WmsB+FOH+mXEeobUcEXUwmsQEeTT/yI1VlZEM4PGke0TQGkcw== 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 93DB6540B9 for ; Tue, 20 Aug 2024 23:44:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sgWdp-0005Ip-MJ; Tue, 20 Aug 2024 17:43:50 -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 <~@wolfsden.cz>) id 1sgWdm-0005I1-UF for help-guix@gnu.org; Tue, 20 Aug 2024 17:43:47 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sgWde-0001R0-H2 for help-guix@gnu.org; Tue, 20 Aug 2024 17:43:46 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id E5408310177; Tue, 20 Aug 2024 21:43:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1724190214; bh=3lGo95vTRnYLZW+gHjzZvpWzl6fLaxs1CkLSP5SZbyQ=; h=From:To:Subject:Date; b=oSzUwLV5gDSDy6Z8OtbWYAExj8213DBrda8XPPVcRpUqP0HeaFQ71Gzz6G3j151Uf 8pPToYpDr5g5L/KK+BCv7UfyzPYS7H7CxtXasvSeorlK3J56CJ7J/WL/gmAF61EPDm T53VguQFs1d+832Kkil/S8dcmHDNGF3H6PZ/Uc9GsCNDB2P1hM288qsnT2fJnB0Bcl Ho2JhEcrTQWZeWD0UHqlX5+Ybdnt8Z6k2oU3H8I2RHQWrHfIQyP/EfNg+3D+49hBeE ScRWnFikle5Zy5GBF0vJSdG7l1rUSHftXSrissTi6rbp7G6pH6seU2uLQ5VbnC05WA LuydoPufonDFP7LaPvHOPhliVgMK75xeEYMYXyNPSRNm9nzxmbeZWSO+/owMABW1Na OocwAqQ0Eye/wQ2YhmY9knVKKkliVS/AOmiy9PShfEtv9oqxIZ7efaAelWaV7CioL2 A0eryWA7tRA7VsqdoQi36GM/jz1kGmxEuSLHSJgHrwpb9BLrSLS7+nyMEgeZ0tmRtR fHiqfdwEeO3ltn831jb68XPG5IxEPBHxzshOsmjq2inY1dyV7I5SATI+sSPN7b5zoo JEHxxbwDXOn6BLRHxvLSBeOwZMFHsCGkX3b5JQkSeXM49Lbn6Gp8xnoT+UyZK807gW ITuPCBf8GE4keYm4OyrmDzbs= Received: from localhost (unknown [193.32.127.158]) by wolfsden.cz (Postfix) with ESMTPSA id 157A9310A59 for ; Tue, 20 Aug 2024 21:43:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1724190214; bh=3lGo95vTRnYLZW+gHjzZvpWzl6fLaxs1CkLSP5SZbyQ=; h=From:To:Subject:Date; b=oSzUwLV5gDSDy6Z8OtbWYAExj8213DBrda8XPPVcRpUqP0HeaFQ71Gzz6G3j151Uf 8pPToYpDr5g5L/KK+BCv7UfyzPYS7H7CxtXasvSeorlK3J56CJ7J/WL/gmAF61EPDm T53VguQFs1d+832Kkil/S8dcmHDNGF3H6PZ/Uc9GsCNDB2P1hM288qsnT2fJnB0Bcl Ho2JhEcrTQWZeWD0UHqlX5+Ybdnt8Z6k2oU3H8I2RHQWrHfIQyP/EfNg+3D+49hBeE ScRWnFikle5Zy5GBF0vJSdG7l1rUSHftXSrissTi6rbp7G6pH6seU2uLQ5VbnC05WA LuydoPufonDFP7LaPvHOPhliVgMK75xeEYMYXyNPSRNm9nzxmbeZWSO+/owMABW1Na OocwAqQ0Eye/wQ2YhmY9knVKKkliVS/AOmiy9PShfEtv9oqxIZ7efaAelWaV7CioL2 A0eryWA7tRA7VsqdoQi36GM/jz1kGmxEuSLHSJgHrwpb9BLrSLS7+nyMEgeZ0tmRtR fHiqfdwEeO3ltn831jb68XPG5IxEPBHxzshOsmjq2inY1dyV7I5SATI+sSPN7b5zoo JEHxxbwDXOn6BLRHxvLSBeOwZMFHsCGkX3b5JQkSeXM49Lbn6Gp8xnoT+UyZK807gW ITuPCBf8GE4keYm4OyrmDzbs= From: Tomas Volf <~@wolfsden.cz> To: help-guix@gnu.org Subject: How to have guile module available during sudo system reconfigure? Mail-Followup-To: help-guix@gnu.org Date: Tue, 20 Aug 2024 23:43:33 +0200 Message-ID: <87ed6i27lm.fsf@wolfsden.cz> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-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: , 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: 93DB6540B9 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.13 X-Spam-Score: -9.13 X-TUID: FiuJHehaMnzt --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello Guix, I did run into an interesting (frustrating?) problem. I created a package that bundles few Guile modules of my making. I installed it into my home environment and wanted to use helpers from it in my system configuration. However I am not sure how to do that. When I do =2D-8<---------------cut here---------------start------------->8--- guix system build some/config.scm =2D-8<---------------cut here---------------end--------------->8--- The system builds and everything is fine. However when try to reconfigure the system using =2D-8<---------------cut here---------------start------------->8--- sudo guix system reconfigure some/config.scm =2D-8<---------------cut here---------------end--------------->8--- It fails with a very descriptive error of =2D-8<---------------cut here---------------start------------->8--- ice-9/eval.scm:142:16: In procedure compile-top-call: error: system-add-luks: unbound variable hint: Did you forget `(use-modules (wolfsnet systems))'? =2D-8<---------------cut here---------------end--------------->8--- I managed to track it down to module from my package not being importable. Since I have it in my home environment, all non-sudo commands work, however when I add in the sudo to actually install the new system it does not find it. I am not sure what to do about this. I have tried to install the package into system, but that does not seem to have any effect. =2DE flag to sudo was suggested on IRC, and that works, however documentation does not use it so I am bit scared of various site effects it could have. Does anyone know how to approach this? Tomas =2D-=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmbFDgUOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/wamwow//bBCfRBKmCt8FAGBoyb21ttziaf6Jqj03G+vc VKRZx9ox6PUUdQGkyZe6q3nZjcDvnttjRXo+bL85S3Q4IRQRi0UagR1mWG0fVUcv RosGV4Qs+i8f+fSX6QYyCTQ8igOfLypbE6vWama0VSHnAj2IJfMT4fvyDNjruT8f GSIb3YFkN9rz40Dp71NXYm0zPbswQ7DsFMsMyt6qNjcLhtSuKbq8QA3aGMsOZA3N g4xoaLGDarXJb9POrsyFaCu94XeGu95drxBo46+qnbMPbLTOBfacYZsS7qQAyPlm U3/XWiJwveoLlFiZo+I6wPC9YC17Ani+I8r/od3nkkI+C0Y+5KWo0qazFMHpF8C7 16q4qxwF5Iqu1IRUwtg9trSzOmEepp/S1mQnXHPzc6FULrYbXA3BQ9YsGXV5or4W pe/SYMDYhnjMa7GJpTCgJ02STzohga9g4luvrmPOC6ffRZknNapCzok0a5agFAwC m/Dlqly1De3wXBLDBRFy5dhZJrA6BAFZR2jdO0G0R4/ujOrKmHFncyiFEwiInvh5 oQgemmb7LB6qQAdS5T0sQkrEZW0ZwMdlGkzhgeZqSdsWY13xZz4nwWwp3NImokM+ bRoXpfCq1toQVnOtfnflqQ/AoafeQofH8KwECJpY7G7xJeNJ/NICl5ttVpI+sQKu wIgpPdM= =ZkNM -----END PGP SIGNATURE----- --=-=-=--