all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Polidoro <peter@polidoro.io>
To: help-guix@gnu.org
Subject: Defining packages with a udev dependency
Date: Wed, 09 Mar 2022 15:27:34 -0500	[thread overview]
Message-ID: <86h7866egb.fsf@polidoro.io> (raw)

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!


                 reply	other threads:[~2022-03-09 20:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86h7866egb.fsf@polidoro.io \
    --to=peter@polidoro.io \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.