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 UBYIAAALt2E6LQAAgWs5BA (envelope-from ) for ; Mon, 13 Dec 2021 09:57:36 +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 +AlxN/8Kt2EcVQAAB5/wlQ (envelope-from ) for ; Mon, 13 Dec 2021 08:57:35 +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 A66B7137C3 for ; Mon, 13 Dec 2021 09:57:35 +0100 (CET) Received: from localhost ([::1]:53102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwh9K-00071V-OF for larch@yhetil.org; Mon, 13 Dec 2021 03:57:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwh65-0003Yd-0h for guix-devel@gnu.org; Mon, 13 Dec 2021 03:54:13 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48]:32776 helo=ux-2s-mailproxy.inf.h-brs.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwh62-0002SR-Tn for guix-devel@gnu.org; Mon, 13 Dec 2021 03:54:12 -0500 Received: from condor.h-brs.de (p5797302f.dip0.t-ipconnect.de [87.151.48.47]) (authenticated bits=0) by ux-2s-mailproxy.inf.h-brs.de (8.15.2/8.15.2/Debian-8ska0) with ESMTPSA id 1BD8s03P015981 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Dec 2021 09:54:01 +0100 References: <878rwqf1s4.fsf@h-brs.de> <20211212191711.43e4b7d2@scratchpost.org> <87sfux353z.fsf@h-brs.de> <20211212233706.11f6a57a@scratchpost.org> User-agent: mu4e 1.6.10; emacs 27.2 From: =?utf-8?B?zpPPhc+I?= To: Danny Milosavljevic Subject: Re: How to handle package udev rules? Date: Mon, 13 Dec 2021 09:48:53 +0100 In-reply-to: <20211212233706.11f6a57a@scratchpost.org> Message-ID: <874k7c997j.fsf@member.fsf.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Auth: by SMTP AUTH @ ux-2s11 X-MIMEDefang-Info-ge: Gescannt in Inf@FH-BRS, Regeln s. MiniFAQ E-Mail/Mailscanner X-Scanned-By: MIMEDefang @ FB02 @ H-BRS Received-SPF: pass client-ip=194.95.66.48; envelope-from=gyps@member.fsf.org; helo=ux-2s-mailproxy.inf.h-brs.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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=1639385855; 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=18o/sZSpXWZAWHsmfY4GOkg+hHQBYnPCfhsWW663+u4=; b=F5+iTK4QojM7yOA73IJ/DvDwCKNQjtTGoWUE3QhJs6skWOCju+q0HRV5ju19Q6i9fAMJ0v NunNiUPEWHVcTJ/TFQBAsxT0RBF6x7YiMMh3E1SEtCFJvLKm2jHsbgHq7wki7LCR+9i4o3 xfidgc0QyksXB1plAsDbwgrmHBouem5n2GzGz7coK1yDWDKF2I4B2iaxFjJjBflzervFYK RJ49deZ/UYmRtJjwKIEsEmKz+BxRbWpPWgJLwa92NgWbS5ePTBLmvjH14l0n8P7gAyty4K 2man4M3Dz88nTS+r5bnkNbpGqdmBhutBAA+JaPXTZpv3ePQPJjPRWhKgcxx1xg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639385855; a=rsa-sha256; cv=none; b=XvBI6TrDdof9Zo1s01Z4feY4DZAdcTT6cUiX9IJANgjacL4xcWMwCv9r6TDpckXnkPWjoW wLiHzaOz7RPyugMV1CgsFtRsD2F4P25e3gfbulWy8sw9wYOmUKZ2TnOQmZn1GkVgsCL/OP F0BdSEdinPdZZm11fTe9F4MPdG9QGHbhToD/j2ZZrC1zUZ39x0IKyJhluDGoPgHctb7I4+ xfJuoGXpxKAjcfVypUaFvhLR27I4xRskbblduWwYam42DbenI/SbGogTKwd3A/+3hl4Gy1 ZE6I87J9HrUVQtaUih4zeIia48daDKMq4CLXFGeGIetSXMszaifyLIUiSXnaFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=member.fsf.org (policy=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: -3.47 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=member.fsf.org (policy=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: A66B7137C3 X-Spam-Score: -3.47 X-Migadu-Scanner: scn1.migadu.com X-TUID: cEu6Unb1OGxc --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Dear Danny, thanks! That lead me on the right track. In fact it's just > sudo -E guix ... without the Varibale name. "-E" passes the whole environment to sudo. Now the package works (at least on my system) and the Logitech presenter can be used under EXWM+xcompmgr under guix-system - Great! I would be willing to provide the package description and maintain it if that's helpful. Have to find out about the necessary steps then... Cheers, Alex On Sun, Dec 12 2021, 23:37:06, Danny Milosavljevic = wrote: > [[PGP Signed Part:Undecided]] > 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 >>=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 > > [[End of PGP Signed Part]] --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFIBAEBCAAyFiEEXU8UwBfdlxG/YNXXLg/GxGpHPCwFAmG3CiMUHGd5cHNAbWVt YmVyLmZzZi5vcmcACgkQLg/GxGpHPCyPPwf7B3oBQReUzKafXzivRuBvJuI9OPFe 5iY5BssoQQp9LqKolNPy1anNux8pWGjDGLlR8HguNYgbLMw+tmoEA9zsSk0WDAFT ozacmwFkeaEX0ogOMW/cqjdPsMY72xuLT/D0QjCjSzdWBl9Cq8B4ljuiFMDzU1Ui 8DeAaDnLnBukkF/zyvthG26EkGN17HmEgjCvxXV+4AakWJlThl665HnfirgSdej0 Wz5kJrfansrNtYhDZedaEQurN37crzVlsfvug3Ro4Izx2WSobU5rOq5ssmhGtX42 dLhDn28mEwPFGrPKXdUeF4vkjw4hyIG/k4r9eXpvRTmla/Zo/f56Y9SNDA== =V9kf -----END PGP SIGNATURE----- --=-=-=--