mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
zoneminder: fix build
This commit is contained in:
parent
7470e6e6de
commit
8ef9a614b6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user