summary refs log tree commit diff
path: root/pkgs/applications/graphics/sane
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-04-16 20:36:50 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-08-23 03:20:21 +0300
commit298b479c229fdcc227bb7cc4cd4f9d04cafe5eff (patch)
tree55b15242121be9cfe62e8ba6c9f85b53afff4393 /pkgs/applications/graphics/sane
parent8d2875d60a820ddb1c75da31f4cbd4eee32db038 (diff)
downloadnixpkgs-298b479c229fdcc227bb7cc4cd4f9d04cafe5eff.tar
nixpkgs-298b479c229fdcc227bb7cc4cd4f9d04cafe5eff.tar.gz
nixpkgs-298b479c229fdcc227bb7cc4cd4f9d04cafe5eff.tar.bz2
nixpkgs-298b479c229fdcc227bb7cc4cd4f9d04cafe5eff.tar.lz
nixpkgs-298b479c229fdcc227bb7cc4cd4f9d04cafe5eff.tar.xz
nixpkgs-298b479c229fdcc227bb7cc4cd4f9d04cafe5eff.tar.zst
nixpkgs-298b479c229fdcc227bb7cc4cd4f9d04cafe5eff.zip
sane: Reference correct output of libjpeg
Diffstat (limited to 'pkgs/applications/graphics/sane')
-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 33470ea0c00..4bd80c01c93 100644
--- a/pkgs/applications/graphics/sane/backends/generic.nix
+++ b/pkgs/applications/graphics/sane/backends/generic.nix
@@ -55,7 +55,7 @@ stdenv.mkDerivation {
       --replace "RUN+=\"/bin/sh" "RUN+=\"${stdenv.shell}"
 
     substituteInPlace $out/lib/libsane.la \
-      --replace "-ljpeg" "-L${libjpeg}/lib -ljpeg"
+      --replace "-ljpeg" "-L${libjpeg.out}/lib -ljpeg"
   '' + stdenv.lib.concatStrings (builtins.map installFirmware compatFirmware);
 
   meta = with stdenv.lib; {