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

rtl-sdr: Move udev rules #55576

wants to merge 1 commit into from


None yet
3 participants
Copy link

commented Feb 11, 2019

Motivation for this change

This should fix #55552.

And to get the udev rules installed one needs to do the following:

services.udev.packages = [ pkgs.rtl-sdr ];
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits

cc @jparris @bjornfor

@@ -19,8 +19,7 @@ stdenv.mkDerivation rec {
# rules manually.
# * Propagate libusb-1.0 dependency in pkg-config file.
postInstall = stdenv.lib.optionalString stdenv.isLinux ''
mkdir -p "$out/etc/udev/rules.d/"
cp ../rtl-sdr.rules "$out/etc/udev/rules.d/99-rtl-sdr.rules"
install -Dm=644 ../rtl-sdr.rules $out/lib/udev/rules.d/99-rtl-sdr.rules

This comment has been minimized.

Copy link

markuskowa Feb 11, 2019


According to the documentation both locations etc/udev/rules.d and lib/udev/rules.d should be valid.

This comment has been minimized.

Copy link

etu Feb 12, 2019

Author Contributor

Well then, then there's no issue here

@etu etu closed this Feb 12, 2019

@etu etu deleted the etu:rtl-sdr-move-udev-rules branch Feb 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.