From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YOr0AbF5tmE7fAAAgWs5BA (envelope-from ) for ; Sun, 12 Dec 2021 23:37:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gNdGObB5tmG2OgAAB5/wlQ (envelope-from ) for ; Sun, 12 Dec 2021 22:37:36 +0000 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 5777525E15 for ; Sun, 12 Dec 2021 23:37:36 +0100 (CET) Received: from localhost ([::1]:52286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwXTL-0000nj-H1 for larch@yhetil.org; Sun, 12 Dec 2021 17:37:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwXT1-0000mY-5i for guix-devel@gnu.org; Sun, 12 Dec 2021 17:37:16 -0500 Received: from dd30410.kasserver.com ([85.13.145.193]:58844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwXSy-00073x-Sg for guix-devel@gnu.org; Sun, 12 Dec 2021 17:37:14 -0500 Received: from localhost (84-115-234-145.cable.dynamic.surfer.at [84.115.234.145]) by dd30410.kasserver.com (Postfix) with ESMTPSA id 832E9112037C; Sun, 12 Dec 2021 23:37:09 +0100 (CET) Date: Sun, 12 Dec 2021 23:37:06 +0100 From: Danny Milosavljevic To: gyps@member.fsf.org Subject: Re: How to handle package udev rules? Message-ID: <20211212233706.11f6a57a@scratchpost.org> In-Reply-To: <87sfux353z.fsf@h-brs.de> References: <878rwqf1s4.fsf@h-brs.de> <20211212191711.43e4b7d2@scratchpost.org> <87sfux353z.fsf@h-brs.de> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.24; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/rkmDo3BTu6yjWfz_bn72v6f"; protocol="application/pgp-signature"; micalg=pgp-sha512 Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd30410.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639348656; 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; bh=PWScfx2djUJHRkMa/blj/hM8kM09Y1g95cmBtbQABWg=; b=bDOwYN7uRqBFK8Gw72kTzBLEOtRNHXDxNg2MEssDWCDF4uKQGNH0b1st2dpBZfSS6lOm9v K4WuoraKNHMocNX5ihOFr4fWtsW59KwtwY04tywAc/IbmXRL1SJM6Y9EYdbhKsQPh/ntHj pQRLHrcGRJ8aJO8jZ6y1dlZOj2rqFBI1qXR3hf1DM5N5WvqjEaqDT5SbbfmIpW+h4gWMr2 sX84qTdMNyoTdZQnPL8uRa8+04LxUpmV/GHHzYP69SBQlfSfGSU+jQK0hGMcBeF4gE3rfN qus2iPYuXgDKQgwYk7oLklMX0f+9uNg5oIxUkX8AIYKtTW7MkCOsdbRP4oTkmA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639348656; a=rsa-sha256; cv=none; b=uDHU1BkAXpqKeIOvKvsl3jxcP8o7vwLWInXHOF6JpIXp27fWlLUYvCLLVv/X5S35XfDYDx mF8bxFNWjm04R2K90M5/8jQDj2vo3ZkMAqwDChYm1NWODhLNB4fdl+Chb//EX8XSoHDpw1 f3iASt1w/n4zDUPuc9Zqlg9lBlTZGt7oOXWQ7uv1gy2KTZOOjZ1+WJNEipdnHXQDZ6tQj7 v2ZxfRrJ20/H+QIjdaQ4ksDrDi/0c8zwZb63DmgnPmavQjsdimds+10KdjiBuqEWVmRU5h kMgu+WtT3oqAiOtpzlwaCUgqmOMSem8pYEo1NxbUWgdeNSFe34xDdyRBh4owgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.17 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5777525E15 X-Spam-Score: -4.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: /nNBe7mV3MPa --Sig_/rkmDo3BTu6yjWfz_bn72v6f Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, On Sun, 12 Dec 2021 21:58:14 +0100 gyps@member.fsf.org wrote: > If I change my operating-system config to inlcude udev-rules from > package "projecteur" everything works fine - at least if I do it as a > regular user. As soon as I sudo the guix system reconfigure command the > package is known but it's code is not. Error message is: >=20 > > $ sudo guix system reconfigure ~/etc/config.scm > > ice-9/boot-9.scm:3329:6: In procedure resolve-interface: > > no code for module (projecteur) =20 >=20 > Could it be the case that sudo'ed the variable GUIX_PACKAGE_PATH is not > known or not interpreted correctly? Does the package need to reside > somewhere else than in GUIX_PACKAGE_PATH? Yeah, sudo is very paranoid. You need to pass -E GUIX_PACKAGE_PATH to it: sudo -E GUIX_PACKAGE_PATH guix system reconfigure ~/etc/config.scm --Sig_/rkmDo3BTu6yjWfz_bn72v6f Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmG2eZIACgkQ5xo1VCww uqVrwwgAjTdRE/F5TP1vt0PN6m77Kr/wjdy0nuTZOloxxbkkoTFWHYQYVOA7UdnU +Q/QApk5KHo4CyIT9DIAiWtl2HQgdlIjM4yDL2kX+9mIjdrZnOEM8shCxATFJU5i ZRFfLFtqDT0BZEOJhD3SBFP5hz4/3InDoWv0fqL1rY51JRosOWOJ0f55zYtoPcf7 CrqTHQNcwq3da3VuTNR3HeZ7fvBpUA7kF0O/mLI0U5WnD0brHsN+OJaAu6JIg/UR vBK2yLe9cmKrvcQlyXE770aDTyqasdi/hH7TberQD+HInN1WqkV1k67axcT61fiU muznmuxexczUyf0Kt25vgEJts3FKrQ== =nNbp -----END PGP SIGNATURE----- --Sig_/rkmDo3BTu6yjWfz_bn72v6f--