unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Defining packages with a udev dependency
@ 2022-03-09 20:27 Peter Polidoro
  0 siblings, 0 replies; only message in thread
From: Peter Polidoro @ 2022-03-09 20:27 UTC (permalink / raw)
  To: help-guix

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?

Thanks!


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-09 20:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-09 20:27 Defining packages with a udev dependency Peter Polidoro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).