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
mixxx: install udev rules for HID controllers #92854
Conversation
Ideally, upstream would install the udev file for every distro: https://github.com/mixxxdj/mixxx/blob/bff45d7d3a5ecb4e0856af521e70b3406c4e424f/SConscript#L399-L400 and to the correct path: https://github.com/mixxxdj/mixxx/blob/bff45d7d3a5ecb4e0856af521e70b3406c4e424f/SConscript#L384 It should be in |
Mmm. I’m not sure to understand completely the SConscript (still in my wake up process): should it work on NixOS? Is it possible for it to work on every distro? As for the nixpkgs/pkgs/development/tools/misc/openocd/default.nix Lines 46 to 54 in 84cf00f
Do you want I add a comment to state it is a workaround until upstream has been fixed? |
It would need to be modified. I suggest opening an issue (or better pull request) upstream and adding a comment linking to that here. |
633fccb
to
e4b59c5
Compare
I’ve added a comment, changed the location and added an |
Looks like they added CMake script, which installs that by default: https://github.com/mixxxdj/mixxx/blob/e0bca241793926e4d57ad9e8c817fd5d7e0e5c54/CMakeLists.txt#L1146-L1151 |
e4b59c5
to
f36b9ed
Compare
Oh, that’s great news! I’ve updated my comment then, to state the workaround should not be needed for Mixxx 2.3.x. |
@prusnak Sure! I’m a bit busy at the moment so I can’t promise to do this before the week-end, but I’ll try for sure, and update the PR accordingly. Thank you for the update :) |
The issue should be fixed via #128696 which has been just merged. Please open an issue if that is not the case and mixxx is still missing udev rules. Thanks! |
Motivation for this change
Some udev rules are needed to use Mixxx with a HID controller. This PR makes the rules available so one can add
services.udev.packages = [ pkgs.mixxx ];
to itsconfiguration.nix
and get the controllers working without any more tweak.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)