From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SMP9GeZJvGE4WwAAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 09:27:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QP6/FeZJvGFMewAAB5/wlQ (envelope-from ) for ; Fri, 17 Dec 2021 08:27:18 +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 2D6253B573 for ; Fri, 17 Dec 2021 09:27:18 +0100 (CET) Received: from localhost ([::1]:35180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my8aD-00024j-AX for larch@yhetil.org; Fri, 17 Dec 2021 03:27:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my8Zw-0001yf-JN for guix-devel@gnu.org; Fri, 17 Dec 2021 03:27:00 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48]:51366 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 1my8Zs-0003Zn-NV for guix-devel@gnu.org; Fri, 17 Dec 2021 03:26:59 -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 1BH8QnUH024478 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Dec 2021 09:26:50 +0100 References: <878rwqf1s4.fsf@h-brs.de> <20211212191711.43e4b7d2@scratchpost.org> <87sfux353z.fsf@h-brs.de> <20211212233706.11f6a57a@scratchpost.org> <874k7c997j.fsf@member.fsf.org> User-agent: mu4e 1.6.10; emacs 27.2 From: Alexander Asteroth To: =?utf-8?B?zpPPhc+I?= Subject: Re: How to handle package udev rules? Date: Fri, 17 Dec 2021 09:20:18 +0100 In-reply-to: <874k7c997j.fsf@member.fsf.org> Message-ID: <87wnk3y6v2.fsf@h-brs.de> 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=alexander.asteroth@h-brs.de; 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639729638; 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=/EP6aJTdEodYcYjzVfwBxosNgRHWISzaw54lllXJJXs=; b=WFzqLdj9Q6V9YLlrOznyukY2UnElk9+mP2Tfl4ljenRtwcKyvXstmUj9xl9vepLWzv7IJF BwSs2PlVMCZ+rlNoIxFN1vsW1KJtf+hcL7UpTZNO15gxBrjLVIJgcRR+r4JGnpLfz3k1Xz ngguXew0PEteuhCU4ATVP3E+X/qg1xfzF76zH57NwgYB5OuuXne7LUYcI1CQjNd8b/U25m JUy+u2CZtBoSuMNYZR+apd5e3Q1splsXoKDjCezMux/vS9o/EWoXQIkNjU7YQxAEkkv8Nf VzzVVxU0dEZ5SakU2ATtIC53wN2OAgzzVcjlNuW89aeoKvVSnIQEk+Q/vgcc5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639729638; a=rsa-sha256; cv=none; b=d13rHbhrgAR30XPmX+LWHf/e+ZNVQRk0PF20LqlVCI6tkWmjkhAmrLDUh8CEDrNMQNuYf6 ZNvbubg1eBD7Vlg+8N94xA1wRw8CUP9D34N3ZmBnc8HwAA8oTM+XbHfjdP/Ay2mwEbHSrq Xwv0Zde8lnrQRSAJbFNAMLYhdrP8avW+J/432dEwcr8Nb/S/ogfzWJyc4OJwXzNLw+Y+9S 3xQm92nZ6PwceRVTdfuEKZmHmHiWtUafW1gvDrbFcGQ1CNS91l/wBp3iYFjDKhI1+O8xlW UVIiVow6UqJXUjaYpyZY4LYEmfRm8Jsb+XiPzyuNANDVMZPekbjNkmE6G2D4Ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (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: -4.79 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (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: 2D6253B573 X-Spam-Score: -4.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: Blk+z4EOEPX7 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Now that the package is working and after I read the guidelines for contributing a package description I was wondering one thing: guix is not only guix system but also running as a packet manager on other distros. But a package developed for guix system, has to handle files like udev rule files differently from other FSH based distributions. Therefore a package using e.g. udev rules will never work without additional steps on other distributions. What is the policy here? How do other guix packages deal with that? Cheers, Alex On Mon, Dec 13 2021, 09:48:53, =CE=93=CF=85=CF=88 wro= te: > [[PGP Signed Part:Undecided]] > 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]] > > [[End of PGP Signed Part]] --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFQBAEBCAA6FiEEXU8UwBfdlxG/YNXXLg/GxGpHPCwFAmG8ScEcHGFsZXhhbmRl ci5hc3Rlcm90aEBoLWJycy5kZQAKCRAuD8bEakc8LABFB/0XpjDqJGydYp2+wLlh 1X3V+taTz4QYCgi3PT5qYgIlBfT0NEFL4/d2SAenNbUPMpDHF2uAdJrUicELW8Ht MZ1Kjw9cwleThTXRBLx8MpJUkvzPbH0sKIGqSwYh16aIemtafBcwKZEDVSbdx0RG Fz1GJNwu46uF6D/4zSXBRUIlO1z6UCaP8GU6xnCOcVDz/d2ICtWeQhiU8eAG4JJP 7BeoZMX7RqGYuLD46liexaY938zQRcbNmuxubBM5jqj/73Xv5ORjPuUsVNBQ/gTH UYSiw6IO9PrwqqgPDto3yAC81FP5dadq6m1WNYikK/YJIeKQx3vyZiOUjc5DhgUG B9YP =0q9m -----END PGP SIGNATURE----- --=-=-=--