Remove references to plugdev in /etc/udev/rules.d/70-u2f.rules.
This is a legacy group that should not be used. ref: https://gitlab.archlinux.org/archlinux/packaging/packages/probe-rs/-/work_items/4
This commit is contained in:
@@ -125,5 +125,17 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
programs.gnupg.agent.enableExtraSocket = true;
|
programs.gnupg.agent.enableExtraSocket = true;
|
||||||
|
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(final: prev: {
|
||||||
|
# This package creates /etc/udev/rules.d/70-u2f.rules referencing a legacy group "plugdev". This overlay removes those references. ref: https://gitlab.archlinux.org/archlinux/packaging/packages/probe-rs/-/work_items/4
|
||||||
|
libfido2 = prev.libfido2.overrideAttrs (old: {
|
||||||
|
postPatch = (old.postPatch or "") + ''
|
||||||
|
substituteInPlace udev/70-u2f.rules \
|
||||||
|
--replace-fail ', GROUP="plugdev"' ""
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user