From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sJ9gNs0YtmGD+wAAgWs5BA (envelope-from ) for ; Sun, 12 Dec 2021 16:44:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gMX2Mc0YtmEPDwAAbx9fmQ (envelope-from ) for ; Sun, 12 Dec 2021 15:44:13 +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 A364F92BC for ; Sun, 12 Dec 2021 16:44:13 +0100 (CET) Received: from localhost ([::1]:48142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwR1I-0007xH-Q7 for larch@yhetil.org; Sun, 12 Dec 2021 10:44:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwPQU-0005h6-EK for guix-devel@gnu.org; Sun, 12 Dec 2021 09:02:06 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48]:45328 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 1mwPQP-0006ls-ML for guix-devel@gnu.org; Sun, 12 Dec 2021 09:02:06 -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 1BCE1wsW026180 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 12 Dec 2021 15:01:58 +0100 References: <878rwqf1s4.fsf@h-brs.de> User-agent: mu4e 1.6.10; emacs 27.2 From: =?utf-8?B?zpPPhc+I?= To: guix-devel@gnu.org Subject: How to handle package udev rules? Date: Sun, 12 Dec 2021 14:57:36 +0100 Message-ID: <874k7dgbw1.fsf@member.fsf.org> MIME-Version: 1.0 Content-Type: text/plain 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-Mailman-Approved-At: Sun, 12 Dec 2021 10:44:02 -0500 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639323853; 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:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=axroAkGTq+pxccFervNnpYSRgB6Z+6jFy750isT+Obo=; b=KTJ7lavpKXrXzY7XkUp4s5EDItBJvxaG8y/Wyv6PGyvj+lOhkUtGAvGxU5T5GGZ6f4HSut Xp8mznRN8gxKI18j5rUHRvsc8qYGLWEU3seyY1EOTMztS22TqOCita4YLELyEMUmYhvcnz 9ZoROPO6hiUWoXYxxAlBlzSzj4DYW96FxAo/yN2yV9te25oF0iY6aMKqDgRYx5TYHORN4H 91t7cOwUZNf7ULpGf95DZoYznHqBAL6ePNxr62j50pnDyWU8Mt1Fuxdk1+32S1ABwu6ji8 jW5/k2bf98RVPoMzR3o7dKa/ibf3oUuqnL4u+1LH9Ql053R0vhQdmLOZ4yOTWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639323853; a=rsa-sha256; cv=none; b=RYCqVK58wNXs08lpLFp3W91vcgW+XPlFxfXQ7fnQSBC8rwc6QvbMMDKBwE87ixqqeRTOks O1JeatWldM0wPR2oxjstNFWrfxDRwLkjaKjd800z4MZoPpEHqGhsCSmSFDzk/aK7Ui49ph mO5Vb1zrnWaj2SF+huqiiKhRyHCJAvOznnaQrNdIqP+GTkm5JaM8aRVCoJqaVZiwZWVIAR aPFyOlh0LdfP4G7kjEa7tzZIXqtnwm0nI6w+ZlYnBgyqh5q1raPKsm7ueD+XKvXZ8mezsM AvihEKtVYpG7mhY8hBv+ESBG01v7XwKJwNWK7qnM71RFLNhAt1lcmiv49iqd2Q== 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: -1.87 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: A364F92BC X-Spam-Score: -1.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: lZedlIN8CozF Sorry, I sent this email from a non-subscribed account and therefore it probably wasn't sent (if you receive it twice sorry for that). Dear all, I'm trying to build my first guix package and so far, after a lot of trial and error to find the right packages providing the necessary cmake functionality I managed to get the package to compile. (up to the point where the install script want's to copy some udev rules file) The package is a linux software that can be used with logitech presenters [0]. Therefore it needs udev rules/devices to communicate with the device. The question now is, what is the correct guix-way to implement this: I tried to import the libgudev module but that that only results in the package wanting to write to another write-protected directory from the store. As I understand, the udev-rules are usually created on system level. That would mean I need to split the package into a service part and a package part? And remove the installation of the udev-file from the package install process? Or is there another way for a package to provide the udev rules from a user-level install? Cheers, Alex ----- [0] https://github.com/jahnf/Projecteur