git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #12883 from Profpatsch/udev
772a1dfTobias Geerinckx-Rice
pkgs/applications/graphics/sane/backends/generic.nix+1−1
@@ -52,7 +52,7 @@ stdenv.mkDerivation {
52 cp tools/udev/libsane.rules $out/etc/udev/rules.d/49-libsane.rules
52 cp tools/udev/libsane.rules $out/etc/udev/rules.d/49-libsane.rules
53 # the created 49-libsane references /bin/sh
53 # the created 49-libsane references /bin/sh
54 substituteInPlace $out/etc/udev/rules.d/49-libsane.rules \
54 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}"
56
56
57 substituteInPlace $out/lib/libsane.la \
57 substituteInPlace $out/lib/libsane.la \
58 --replace "-ljpeg" "-L${libjpeg}/lib -ljpeg"
58 --replace "-ljpeg" "-L${libjpeg}/lib -ljpeg"