Commit dae9d1fa authored by Felix Singer's avatar Felix Singer Committed by Bjørn Forsman
Browse files

libjaylink: Grant read-write access to members of jlink group



It's unusual to use the plugdev group in NixOS. So instead, give access
to users in the jlink group. It does not conflict with the uaccess tag,
which grants access to seat sessions.

Signed-off-by: default avatarFelix Singer <felixsinger@posteo.net>
parent 7dca08ea
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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.
+3 −0
Original line number Diff line number Diff line
@@ -28,6 +28,9 @@ stdenv.mkDerivation rec {

  postPatch = ''
    patchShebangs autogen.sh

    substituteInPlace contrib/60-libjaylink.rules \
      --replace-fail 'GROUP="plugdev"' 'GROUP="jlink"'
  '';

  postInstall = ''