forked from mirrors/nixpkgs
feh: add jpegexiforient to wrapped path
This makes `feh --edit` work
This commit is contained in:
parent
3f0082d579
commit
fd2e1687dc
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchurl, makeWrapper
|
{ stdenv, fetchurl, makeWrapper
|
||||||
, xorg, imlib2, libjpeg, libpng
|
, xorg, imlib2, libjpeg, libpng
|
||||||
, curl, libexif, perlPackages }:
|
, curl, libexif, jpegexiforient, perlPackages }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
installTargets = [ "install" ];
|
installTargets = [ "install" ];
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram "$out/bin/feh" --prefix PATH : "${libjpeg.bin}/bin" \
|
wrapProgram "$out/bin/feh" --prefix PATH : "${makeBinPath [ libjpeg jpegexiforient ]}" \
|
||||||
--add-flags '--theme=feh'
|
--add-flags '--theme=feh'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue