about summary refs log tree commit diff
path: root/pkgs/applications/graphics/sane
diff options
context:
space:
mode:
author7FM <41307817+7FM@users.noreply.github.com>2022-06-05 18:03:11 +0200
committerGitHub <noreply@github.com>2022-06-05 18:03:11 +0200
commitfd84f6bb0c645f8be1f66b9b1514c606fea295da (patch)
tree085e308ec1718b04b1b2ff803ebfec5c18b1afad /pkgs/applications/graphics/sane
parent1b467b894b7dd9c9fc6ceff3f6c7a5ce4c24555e (diff)
sane-backends: fix udev rule generation
Diffstat (limited to 'pkgs/applications/graphics/sane')
-rw-r--r--pkgs/applications/graphics/sane/backends/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/sane/backends/default.nix b/pkgs/applications/graphics/sane/backends/default.nix
index d3c5b1c0b75f2..8c45f3a62ff3e 100644
--- a/pkgs/applications/graphics/sane/backends/default.nix
+++ b/pkgs/applications/graphics/sane/backends/default.nix
@@ -83,7 +83,7 @@ stdenv.mkDerivation {
 
   in ''
     mkdir -p $out/etc/udev/rules.d/
-    ./tools/sane-desc -m udev > $out/etc/udev/rules.d/49-libsane.rules || \
+    ./tools/sane-desc -m udev+hwdb -s doc/descriptions:doc/descriptions-external > $out/etc/udev/rules.d/49-libsane.rules || \
     cp tools/udev/libsane.rules $out/etc/udev/rules.d/49-libsane.rules
     # the created 49-libsane references /bin/sh
     substituteInPlace $out/etc/udev/rules.d/49-libsane.rules \