zoneminder: fix timezone detection

(cherry picked from commit 630de551ef)

cc #79488
This commit is contained in:
Daniel Fullmer
2020-02-21 20:43:56 -05:00
committed by Dmitry Kalinkin
parent 7f2973c12f
commit cf7dfbf87b

View File

@@ -135,10 +135,13 @@ in stdenv.mkDerivation rec {
substituteInPlace $f --replace @ZM_CONFIG_SUBDIR@ /etc/zoneminder
done
for f in includes/Event.php views/image.php ; do
substituteInPlace web/$f \
--replace "'ffmpeg " "'${ffmpeg}/bin/ffmpeg "
done
for f in includes/Event.php views/image.php ; do
substituteInPlace web/$f \
--replace "'ffmpeg " "'${ffmpeg}/bin/ffmpeg "
done
substituteInPlace web/includes/functions.php \
--replace "'date " "'${coreutils}/bin/date "
'';
buildInputs = [