Artturin 2023-04-19 21:26:27 +03:00
parent 7d9a498788
commit b3970125b4

View File

@ -58,10 +58,13 @@ stdenv.mkDerivation rec {
buildPackages.libgphoto2; buildPackages.libgphoto2;
in in
'' ''
mkdir -p $out/lib/udev/rules.d mkdir -p $out/lib/udev/{rules.d,hwdb.d}
${executablePrefix}/lib/libgphoto2/print-camera-list \ ${executablePrefix}/lib/libgphoto2/print-camera-list \
udev-rules version 175 group camera \ udev-rules version 201 group camera \
>$out/lib/udev/rules.d/40-gphoto2.rules >$out/lib/udev/rules.d/40-libgphoto2.rules
${executablePrefix}/lib/libgphoto2/print-camera-list \
hwdb version 201 group camera \
>$out/lib/udev/hwdb.d/20-gphoto.hwdb
''; '';
meta = { meta = {