summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-02-09 03:18:14 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-02-09 03:18:14 +0100
commit772a1dfb82b58ab994ef2e9977ee7f1ed5a9a1e7 (patch)
treeab9eda09f123f38a3e505a1f93a4510bd46db209 /pkgs
parent0ee88cffca0dbc428501b7920c3b2bfe011a6420 (diff)
parent71d01db76fa5c4e62417382e27f6a89f0f8a60a0 (diff)
downloadnixlib-772a1dfb82b58ab994ef2e9977ee7f1ed5a9a1e7.tar
nixlib-772a1dfb82b58ab994ef2e9977ee7f1ed5a9a1e7.tar.gz
nixlib-772a1dfb82b58ab994ef2e9977ee7f1ed5a9a1e7.tar.bz2
nixlib-772a1dfb82b58ab994ef2e9977ee7f1ed5a9a1e7.tar.lz
nixlib-772a1dfb82b58ab994ef2e9977ee7f1ed5a9a1e7.tar.xz
nixlib-772a1dfb82b58ab994ef2e9977ee7f1ed5a9a1e7.tar.zst
nixlib-772a1dfb82b58ab994ef2e9977ee7f1ed5a9a1e7.zip
Merge pull request #12883 from Profpatsch/udev
sane: *really* fix udev error
Diffstat (limited to 'pkgs')
-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"