diff --git a/nixos/doc/manual/release-notes/rl-2505.section.md b/nixos/doc/manual/release-notes/rl-2505.section.md index 4ca0e6bbf095..745044d9d546 100644 --- a/nixos/doc/manual/release-notes/rl-2505.section.md +++ b/nixos/doc/manual/release-notes/rl-2505.section.md @@ -197,6 +197,8 @@ - rename package `wtf` to `wtfutil`. +- The udev rules of the libjaylink package require users to be in the `jlink` instead of `plugdev` group now, since the `plugdev` group is very uncommon for NixOS. Alternatively, access is granted to seat sessions. + - `python3Packages.beancount` was updated to 3.1.0. Previous major version remains available as `python3Packages.beancount_2`. - `binwalk` was updated to 3.1.0, which has been rewritten in rust. The python module is no longer available. diff --git a/pkgs/by-name/li/libjaylink/package.nix b/pkgs/by-name/li/libjaylink/package.nix index 0ca4aa2c01ea..83094426194d 100644 --- a/pkgs/by-name/li/libjaylink/package.nix +++ b/pkgs/by-name/li/libjaylink/package.nix @@ -28,6 +28,9 @@ stdenv.mkDerivation rec { postPatch = '' patchShebangs autogen.sh + + substituteInPlace contrib/60-libjaylink.rules \ + --replace-fail 'GROUP="plugdev"' 'GROUP="jlink"' ''; postInstall = ''