From 46adbcde4875779d18acd752fed1cb25bf03bb84 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Fri, 4 Jan 2019 13:52:47 +0100 Subject: [PATCH] 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 --- pkgs/development/libraries/cutelyst/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/cutelyst/default.nix b/pkgs/development/libraries/cutelyst/default.nix index 6cb003720bb1..f4a10452eef8 100644 --- a/pkgs/development/libraries/cutelyst/default.nix +++ b/pkgs/development/libraries/cutelyst/default.nix @@ -1,5 +1,6 @@ { stdenv, lib, fetchFromGitHub, cmake, pkgconfig, makeWrapper -, qtbase, libuuid, libcap, uwsgi, grantlee }: +, qtbase, libuuid, libcap, uwsgi, grantlee, pcre +}: stdenv.mkDerivation rec { name = "cutelyst-${version}"; @@ -13,7 +14,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ cmake pkgconfig makeWrapper ]; - buildInputs = [ qtbase libuuid libcap uwsgi grantlee ]; + buildInputs = [ qtbase libuuid libcap uwsgi grantlee pcre ]; cmakeFlags = [ "-DPLUGIN_UWSGI=ON"