Merge pull request #90652 from tckmn/feh-autoreload-option

feh: add enableAutoreload option
This commit is contained in:
Maximilian Bosch 2020-06-17 03:05:31 +02:00 committed by GitHub
commit 2694473150
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ stdenv, fetchurl, makeWrapper
, xorg, imlib2, libjpeg, libpng
, curl, libexif, jpegexiforient, perlPackages }:
, curl, libexif, jpegexiforient, perlPackages
, enableAutoreload ? true }:
with stdenv.lib;
@ -21,7 +22,8 @@ stdenv.mkDerivation rec {
makeFlags = [
"PREFIX=${placeholder "out"}" "exif=1"
] ++ optional stdenv.isDarwin "verscmp=0";
] ++ optional stdenv.isDarwin "verscmp=0"
++ optional enableAutoreload "inotify=1";
installTargets = [ "install" ];
postInstall = ''