zoneminder: fix timezone detection

This commit is contained in:
Daniel Fullmer 2020-02-21 20:43:56 -05:00
parent 2685e457d3
commit 630de551ef

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 = [