[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Defining packages with a udev dependency

From: Peter Polidoro
Subject: Defining packages with a udev dependency
Date: Wed, 09 Mar 2022 15:27:34 -0500
User-agent: mu4e 1.6.10; emacs 27.2

I would like to create a Guix package for PlatformIO so I can compile and upload firmware onto various embedded microprocessors.

The PlatformIO core is simply a pypi Python package, but it requires udev rules in order to communicate with the embedded devices.

I see that several Guix packages modify udev rules, for example libsigrok. Do these udev modifications work when using Guix on a foreign distro or do they only work when using Guix System?

Is simply installing the package enough to modify the udev rules or do they also need to be separately specified in the Guix System configuration?

When creating a new package that needs udev rules, is it better to create two packages, one for the rules and another for the package that require the rules, with one depending on the other? Or is it better to just create a single package with the udev modifications specified under arguments?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]