Merge pull request #12883 from Profpatsch/udev

sane: *really* fix udev error
This commit is contained in:
Tobias Geerinckx-Rice 2016-02-09 03:18:14 +01:00
commit 772a1dfb82

View File

@ -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"