zoneminder: fix timezone detection

This commit is contained in:
Daniel Fullmer
2020-03-07 12:59:39 -05:00
parent 2685e457d3
commit 630de551ef
+7 -4
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 = [