about summary refs log tree commit diff
path: root/pkgs/applications/graphics/sane/backends
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2016-02-09 00:13:07 +0100
committerProfpatsch <mail@profpatsch.de>2016-02-09 00:13:07 +0100
commit71d01db76fa5c4e62417382e27f6a89f0f8a60a0 (patch)
treee72431375ab691588e5f27bdf1ca01541cac9078 /pkgs/applications/graphics/sane/backends
parent9a72bf5c0fa8c6d265c3fe0df5f2842b21519cd7 (diff)
downloadnixlib-71d01db76fa5c4e62417382e27f6a89f0f8a60a0.tar
nixlib-71d01db76fa5c4e62417382e27f6a89f0f8a60a0.tar.gz
nixlib-71d01db76fa5c4e62417382e27f6a89f0f8a60a0.tar.bz2
nixlib-71d01db76fa5c4e62417382e27f6a89f0f8a60a0.tar.lz
nixlib-71d01db76fa5c4e62417382e27f6a89f0f8a60a0.tar.xz
nixlib-71d01db76fa5c4e62417382e27f6a89f0f8a60a0.tar.zst
nixlib-71d01db76fa5c4e62417382e27f6a89f0f8a60a0.zip
sane: *really* fix udev error
\#12874 tried to patch out the literal /bin/sh, but an additional space
sneaked in.
Diffstat (limited to 'pkgs/applications/graphics/sane/backends')
-rw-r--r--pkgs/applications/graphics/sane/backends/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/sane/backends/generic.nix b/pkgs/applications/graphics/sane/backends/generic.nix
index 2ee5e1ddcf51..e457ba29d975 100644
--- a/pkgs/applications/graphics/sane/backends/generic.nix
+++ b/pkgs/applications/graphics/sane/backends/generic.nix
@@ -52,7 +52,7 @@ stdenv.mkDerivation {
     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 \
-      -- replace "RUN+=\"/bin/sh" "RUN+=\"${stdenv.shell}"
+      --replace "RUN+=\"/bin/sh" "RUN+=\"${stdenv.shell}"
 
     substituteInPlace $out/lib/libsane.la \
       --replace "-ljpeg" "-L${libjpeg}/lib -ljpeg"