mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-29 16:57:40 +03:00
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
|
||||
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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user