Merge pull request #216815 from R-VdP/flashrom-udev-rules
flashrom: use a udev uaccess tag instead of introducing a custom flashrom group
This commit is contained in:
commit
0e6e15e124
|
@ -22,6 +22,5 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
services.udev.packages = [ cfg.package ];
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
users.groups.flashrom = { };
|
||||
};
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace util/flashrom_udev.rules \
|
||||
--replace "plugdev" "flashrom"
|
||||
--replace 'GROUP="plugdev"' 'TAG+="uaccess", TAG+="udev-acl"'
|
||||
'';
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "libinstall" ]
|
||||
|
|
Loading…
Reference in a new issue