about summary refs log tree commit diff
path: root/pkgs/servers/zoneminder
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2019-10-10 22:05:19 +0300
committerIzorkin <izorkin@elven.pw>2019-11-15 10:16:51 +0300
commit8ef9a614b6a9d7816c147a22fb4e766e9c30b3bd (patch)
treeb4c1d4f8a7c3eeab1419b18123d8fa17c27aef20 /pkgs/servers/zoneminder
parent7470e6e6deb3c3119b09e2ab4989beeb285a56a2 (diff)
zoneminder: fix build
Diffstat (limited to 'pkgs/servers/zoneminder')
-rw-r--r--pkgs/servers/zoneminder/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/servers/zoneminder/default.nix b/pkgs/servers/zoneminder/default.nix
index df6cad8c759b3..2dcaf44010e70 100644
--- a/pkgs/servers/zoneminder/default.nix
+++ b/pkgs/servers/zoneminder/default.nix
@@ -1,5 +1,5 @@
 { stdenv, lib, fetchFromGitHub, fetchurl, cmake, makeWrapper, pkgconfig
-, curl, ffmpeg, glib, libjpeg, libselinux, libsepol, mp4v2, mysql, pcre, perl, perlPackages
+, curl, ffmpeg, glib, libjpeg, libselinux, libsepol, mp4v2, libmysqlclient, mysql, pcre, perl, perlPackages
 , polkit, utillinuxMinimal, x264, zlib
 , coreutils, procps, psmisc }:
 
@@ -123,7 +123,7 @@ in stdenv.mkDerivation rec {
     done
 
     substituteInPlace scripts/zmdbbackup.in \
-      --replace /usr/bin/mysqldump ${mysql}/bin/mysqldump
+      --replace /usr/bin/mysqldump ${mysql.client}/bin/mysqldump
 
     for f in scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in \
              scripts/zmupdate.pl.in \
@@ -140,7 +140,7 @@ in stdenv.mkDerivation rec {
   '';
 
   buildInputs = [
-    curl ffmpeg glib libjpeg libselinux libsepol mp4v2 mysql pcre perl polkit x264 zlib
+    curl ffmpeg glib libjpeg libselinux libsepol mp4v2 libmysqlclient mysql.client pcre perl polkit x264 zlib
     utillinuxMinimal # for libmount
   ] ++ (with perlPackages; [
     # build-time dependencies