about summary refs log tree commit diff
path: root/pkgs/applications/graphics/feh
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2019-11-14 02:36:53 +0100
committerSilvan Mosberger <contact@infinisil.com>2019-11-14 02:36:53 +0100
commitfd2e1687dc3481b4fc8e24aeafc1a243bbd19c48 (patch)
treefb87609b5e398107bbdef9205dfce11f5d2b9c7c /pkgs/applications/graphics/feh
parent3f0082d57943db6fbdc934c1ff0211060917eb94 (diff)
feh: add jpegexiforient to wrapped path
This makes `feh --edit` work
Diffstat (limited to 'pkgs/applications/graphics/feh')
-rw-r--r--pkgs/applications/graphics/feh/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/feh/default.nix b/pkgs/applications/graphics/feh/default.nix
index fef068eaf0ff8..50814f2396219 100644
--- a/pkgs/applications/graphics/feh/default.nix
+++ b/pkgs/applications/graphics/feh/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchurl, makeWrapper
 , xorg, imlib2, libjpeg, libpng
-, curl, libexif, perlPackages }:
+, curl, libexif, jpegexiforient, perlPackages }:
 
 with stdenv.lib;
 
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
 
   installTargets = [ "install" ];
   postInstall = ''
-    wrapProgram "$out/bin/feh" --prefix PATH : "${libjpeg.bin}/bin" \
+    wrapProgram "$out/bin/feh" --prefix PATH : "${makeBinPath [ libjpeg jpegexiforient ]}" \
                                --add-flags '--theme=feh'
   '';