3
0
Fork 0
forked from mirrors/nixpkgs

feedbackd: Add udev rules to output

This commit is contained in:
Zhaofeng Li 2021-05-01 06:03:42 +00:00
parent 6704ec5710
commit f3e2883167

View file

@ -41,6 +41,11 @@ stdenv.mkDerivation rec {
json-glib
];
postInstall = ''
mkdir -p $out/lib/udev/rules.d
sed "s|/usr/libexec/|$out/libexec/|" < $src/debian/feedbackd.udev > $out/lib/udev/rules.d/90-feedbackd.rules
'';
meta = with lib; {
description = "A daemon to provide haptic (and later more) feedback on events";
homepage = "https://source.puri.sm/Librem5/feedbackd";