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 ODuCChGgx2bdzQAAe85BDQ:P1 (envelope-from ) for ; Thu, 22 Aug 2024 20:31:13 +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 ODuCChGgx2bdzQAAe85BDQ (envelope-from ) for ; Thu, 22 Aug 2024 22:31:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=eJJ5711H; 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=riseup.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724358673; 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=Z3vXZ5u5PyP/T8nbh2F3VeNZ5hmOxMODK5YnvaOfvB8=; b=gUJkPifEzN1/oKFtX7zR1UyuJ1rr9wBaJ/Ur6C6iHVFd9fy3iVWlCP+Oh++N6niiUZNoU6 W4r5I8vJXJv+9tDlUrQj0/NpnxgRftf9PM0comj9OC+w57HF/5iuvotGnX4ES+gk582uA8 InlP9jyw5Pw2ostQ6lmNLTrU4UXJJ8h4w3p6v74RAcLcemSdlHj23eVp1bz3LPK+7WhlWj 22VnYKpBNY2QY68STd0dDe1dFoQeJ8wIgRKaoezJTSLVQCiO8JbZ83LdISijr/RLbuGfVw GaiMD8+v8t5ANqNH1wSYmCdfnF6uod21oK5GQmR48qgOYIqu38RATVSk51HDpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=eJJ5711H; 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=riseup.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724358673; a=rsa-sha256; cv=none; b=oSOVZolvLdeFiZ6SuxlWsXyCZetntBI63f/lPLkMSkLlBkYQiUH3VLIGBoUAYaPXGmqSfQ FAUJMl3s/P50OjV+NbtA9Wz6l4b9hzspCE4QpTgxTm6HnBwARKW4kOkwE9W8Nr93YMjEPP FzqNCzqjesQ7SY1Vvf9FPvQZfs4PzmucqvGhXJuo6DVYc+1fDumtmSahapE6h573pKCJla Y8KDCYL4xgsoVdToT80KRkDczIlElumqbRZAkDSqeHsmYWZE8A4JRuYujg53PoWJN/O6NI dbTdJa8Z8KrdAeYMNO7dKu71hT7v6EI29dtg6jnRLtbHAPbjxoXbOx+LH8gQ/A== 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 61B3A1053D for ; Thu, 22 Aug 2024 22:31:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shES9-0002QN-QY; Thu, 22 Aug 2024 16:30:41 -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 1shES7-0002Iy-QJ for help-guix@gnu.org; Thu, 22 Aug 2024 16:30:39 -0400 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shES5-0001eh-Gk for help-guix@gnu.org; Thu, 22 Aug 2024 16:30:39 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4WqZZy6Gg6z9xMS for ; Thu, 22 Aug 2024 20:30:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1724358634; bh=k3iLSPIJm8c9w5MoeMz9IBNsL4fvnYyzREVsz2jKX08=; h=Date:From:To:Subject:References:In-Reply-To:From; b=eJJ5711H8l9rf38ywQkB5Tn8v001uGlU+MIeAmLoLLZ9N1rNh+J559gc7c0A4zdmI l219dR0o+VZVTC1tiMWy0t9Qmwr8JvjKjt3p3ViRrMvWWWGvGcRItPL2sqnxrax8Em s+ladovFSqBb+Tc2jK7saHkfCiDtmL53zJdJB6EI= X-Riseup-User-ID: 6A4650564C332EA37CDB7B55B7031F21CD5C7C8B13B2F9D5EDEAEFBA5C2B69ED Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4WqZZk3Q0kzFpbj for ; Thu, 22 Aug 2024 20:30:22 +0000 (UTC) Date: Thu, 22 Aug 2024 17:30:15 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: help-guix@gnu.org Subject: Re: How to have guile module available during sudo system reconfigure? Message-ID: References: <87ed6i27lm.fsf@wolfsden.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87ed6i27lm.fsf@wolfsden.cz> Received-SPF: pass client-ip=198.252.153.6; envelope-from=nandre@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_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: 61B3A1053D X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.50 X-Spam-Score: -9.50 X-TUID: 2xHMZ9kef+lK Hi Tomas, ter 20 ago 2024 ās 23:43:33 (1724208213), ~@wolfsden.cz enviou: > > 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 > > --8<---------------cut here---------------start------------->8--- > guix system build some/config.scm > --8<---------------cut here---------------end--------------->8--- > > The system builds and everything is fine. > > However when try to reconfigure the system using > > --8<---------------cut here---------------start------------->8--- > sudo guix system reconfigure some/config.scm > --8<---------------cut here---------------end--------------->8--- > > It fails with a very descriptive error of > > --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))'? > --8<---------------cut here---------------end--------------->8--- > I've never done that, but have you tried setting GUILE_LOAD_PATH? $ sudo GUILE_LOAD_PATH="myguile/modules:$GUILE_LOAD_PATH" guix system reconfigure some/config.scm Cheers,