sane: *really* fix udev error
\#12874 tried to patch out the literal /bin/sh, but an additional space
sneaked in.
commit71d01db76fa5c4e62417382e27f6a89f0f8a60a0
authorProfpatsch <mail@profpatsch.de>
dateTue 9 Feb 2016, 00:13 (11 years ago)
parent9a72bf5
pkgs/applications/graphics/sane/backends/generic.nix+1−1
@@ -52,7 +52,7 @@ stdenv.mkDerivation {
5252 cp tools/udev/libsane.rules $out/etc/udev/rules.d/49-libsane.rules
5353 # the created 49-libsane references /bin/sh
5454 substituteInPlace $out/etc/udev/rules.d/49-libsane.rules \
55− -- replace "RUN+=\"/bin/sh" "RUN+=\"${stdenv.shell}"
55+ --replace "RUN+=\"/bin/sh" "RUN+=\"${stdenv.shell}"
5656
5757 substituteInPlace $out/lib/libsane.la \
5858 --replace "-ljpeg" "-L${libjpeg}/lib -ljpeg"