From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GBQ8H0JVvGFyfAAAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 10:15:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4OQQG0JVvGFfegAA1q6Kng (envelope-from ) for ; Fri, 17 Dec 2021 09:15:46 +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 339763C764 for ; Fri, 17 Dec 2021 10:15:46 +0100 (CET) Received: from localhost ([::1]:44122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my9L7-0006F1-B8 for larch@yhetil.org; Fri, 17 Dec 2021 04:15:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my9EX-0005EH-9w for guix-devel@gnu.org; Fri, 17 Dec 2021 04:08:57 -0500 Received: from jpoiret.xyz ([206.189.101.64]:42052) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my9EV-00039p-6y for guix-devel@gnu.org; Fri, 17 Dec 2021 04:08:57 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 67D7D184F6E; Fri, 17 Dec 2021 09:08:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1639732133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fQOF1tTpRqGmkVyVKJbbd0C/obrtUzO9ghZX0J0PFns=; b=LIsrOU0cp82uCZjbsCsmizkgTGg+91fzssSemGw1viwMF9eH8IPoYMiUe16KklSM9tCMU6 40T2OnCOmkx/BJLgrh5P0k5A7L/gkfYDBR0ikyVUm3/QRdVOiKRVvjivFyK1oI3En9I1Le rDHhswjJoSf6u7Yrr2V218J7TXNeOjf+xgSE3GBGjcnWs2D/oPVWrNml3UCdyQx06KfrEC 3Oqv/QUkWl99q1WK9oG9eVaGJw40c2fgzkuU7uPh8DlcDkwgnGIhblT7Zn9JZQsOwRJgHp c/tKzPZO4iTEnStBTI37Vci2lQJ0muuXx3PwKpEYGivMx4fwUPm/rFs3JEKmbw== To: Alexander Asteroth , =?utf-8?B?zpPPhc+I?= Cc: guix-devel@gnu.org Cc: dev@jpoiret.xyz Subject: Re: How to handle package udev rules? In-Reply-To: <87wnk3y6v2.fsf@h-brs.de> References: <878rwqf1s4.fsf@h-brs.de> <20211212191711.43e4b7d2@scratchpost.org> <87sfux353z.fsf@h-brs.de> <20211212233706.11f6a57a@scratchpost.org> <874k7c997j.fsf@member.fsf.org> <87wnk3y6v2.fsf@h-brs.de> Date: Fri, 17 Dec 2021 10:08:51 +0100 Message-ID: <87wnk3y4ws.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: + Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FROM_SUSPICIOUS_NTLD=0.498, PDS_OTHER_BAD_TLD=1.997, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" Reply-to: Josselin Poiret From: Josselin Poiret via "Development of GNU Guix and the GNU System distribution." 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=1639732546; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=fQOF1tTpRqGmkVyVKJbbd0C/obrtUzO9ghZX0J0PFns=; b=NJfCSjLsuBcETszf41zNCF1SoDr8B5jy0aZi+kIChTgBOYSJrGlrZf891RV7igyFSxOEKI YIJ6rB+GZBABq4NizVqeHkKWdCj5Smq7/qgUne4W/tyUT5+pLurOT6/niVvcoBmPlBq9Zl fhYPHXQvVrTfVEqS3iM93lNQNnHxe9IviB0jI06CYLSPAdGD4Szj1fidSdUa8cvoQbxyzW 1pUtrzRMxpQCU5vehlWTUJB4KcqlHMv5CyRmVMunoPU2Lh1U5aLm+RHZsS6KeY9UcVq8CS KB/n/5D/1tV6IIUTQR/DzfiVdtfjjvyMPJNfH1ijniv+4GFb3RnVYSwKo6DcJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639732546; a=rsa-sha256; cv=none; b=eDSkMJPovUJcqvPyB7ZfQkBHuATDyXPtGChxggvHr9sSTmnlEYPYReBBebp9+25bk7/0MF yS4Mu1vcR4K+RITx/7E4xcUvG+IX34onvXPJSNTM7NH4iAkvbZN6H64qrNT538q9DcdKAK JErj0aB11evqOv4rsApTxEcR/iNNGUkSM7MgrG+GDlKZsc5ZZsznwXnDOgyKmcOp3qLxZT QQ0x8IYuB1HY0LDrFC/uzWgzkxViiP416np7tYn8467oXVT7VnW2sux6IFLpEvPlaxjRx/ 6rbUWfb3essUyywsy8PEWDTmaofKwZcYLVFLyeCOVLaoPCMer+c/moRvpDhOOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=LIsrOU0c; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=LIsrOU0c; dmarc=pass (policy=none) header.from=gnu.org; 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: 339763C764 X-Spam-Score: -2.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: pPZGdYcyUr4Z Hello, Alexander Asteroth writes: > 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? To maintain isolation and compatibility, Guix on a foreign distribution doesn't want to mess with how the other distro operates, and so it won't touch the FHS in any way, except for its own files in /var/guix/. It should theoretically be possible to move the udev rules manually to the udev rules folder, but that means that those files will not be managed by either Guix or the foreign package manager! In any case, on a foreign distro, you shouldn't use Guix for anything system-related, as that would be the responsibility of the running distribution. Best, Josselin Poiret