cutelyst: fix build

Cutelyst misses `pcre.h` to compile, adding `pkgs.pcre` as build input
fixes the compilation.

This unbreaks `virtlyst` and the corresponding module as well.

See also https://hydra.nixos.org/build/86293236
This commit is contained in:
Maximilian Bosch 2019-01-04 13:52:47 +01:00 committed by Robin Gloster
parent e3bc81f531
commit 46adbcde48

View File

@ -1,5 +1,6 @@
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, makeWrapper { stdenv, lib, fetchFromGitHub, cmake, pkgconfig, makeWrapper
, qtbase, libuuid, libcap, uwsgi, grantlee }: , qtbase, libuuid, libcap, uwsgi, grantlee, pcre
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cutelyst-${version}"; name = "cutelyst-${version}";
@ -13,7 +14,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ cmake pkgconfig makeWrapper ]; nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
buildInputs = [ qtbase libuuid libcap uwsgi grantlee ]; buildInputs = [ qtbase libuuid libcap uwsgi grantlee pcre ];
cmakeFlags = [ cmakeFlags = [
"-DPLUGIN_UWSGI=ON" "-DPLUGIN_UWSGI=ON"