Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Plugin/Firmware Discoverability #45269

Open
makefu opened this issue Aug 17, 2018 · 2 comments
Open

[RFC] Plugin/Firmware Discoverability #45269

makefu opened this issue Aug 17, 2018 · 2 comments
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

Comments

@makefu
Copy link
Contributor

makefu commented Aug 17, 2018

Right now nixpkgs has a number modules which provide a plugin system for adding extra functionality to the service. Typical examples are:

  • services.printing.drivers - print drivers
  • hardware.sane.extraBackends - scanner drivers
  • services.pcscd.plugins - drivers for the smart card reader
  • boot.extraModulePackages - modules which should be loaded on startup

Issue description

Even though we have the plugin system, it is opaque which packages can actually be used as a plugin for the respective module. The modules are often scattered around in different folders (most notably with services.pcscd.plugins ).
Most of the time i simply grep the nixpkgs sources for keywords which may relate to the plugin i am looking for.

Steps to reproduce

  1. Try to find all plugins for pcscd (there are at least 4 on the stable channel)
  2. Try to find all backends for sane

Technical details

I do not know how what the best way would be to solve this issue, not all packages which can be plugins are only plugins but provide binaries or libraries as well. Maybe we could introduce a meta attribute which hints towards the package(s) or module(s) which can ingest them as plugins.
In the options search this information could be used to backtrace which extra packages are available.

@symphorien
Copy link
Member

Most if not all sane backends are documented in the wiki https://nixos.wiki/wiki/Scanners

@stale
Copy link

stale bot commented Jun 4, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Projects
None yet
Development

No branches or pull requests

2 participants