From 71d01db76fa5c4e62417382e27f6a89f0f8a60a0 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Tue, 9 Feb 2016 00:13:07 +0100 Subject: [PATCH] sane: *really* fix udev error \#12874 tried to patch out the literal /bin/sh, but an additional space sneaked in. --- pkgs/applications/graphics/sane/backends/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/sane/backends/generic.nix b/pkgs/applications/graphics/sane/backends/generic.nix index 2ee5e1ddcf5..e457ba29d97 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"