zoneminder: fix timezone detection
This commit is contained in:
parent
2685e457d3
commit
630de551ef
@ -135,10 +135,13 @@ in stdenv.mkDerivation rec {
|
|||||||
substituteInPlace $f --replace @ZM_CONFIG_SUBDIR@ /etc/zoneminder
|
substituteInPlace $f --replace @ZM_CONFIG_SUBDIR@ /etc/zoneminder
|
||||||
done
|
done
|
||||||
|
|
||||||
for f in includes/Event.php views/image.php ; do
|
for f in includes/Event.php views/image.php ; do
|
||||||
substituteInPlace web/$f \
|
substituteInPlace web/$f \
|
||||||
--replace "'ffmpeg " "'${ffmpeg}/bin/ffmpeg "
|
--replace "'ffmpeg " "'${ffmpeg}/bin/ffmpeg "
|
||||||
done
|
done
|
||||||
|
|
||||||
|
substituteInPlace web/includes/functions.php \
|
||||||
|
--replace "'date " "'${coreutils}/bin/date "
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user