From 41ed3a8dd10b1e4babb045d06c2074042e13c7e0 Mon Sep 17 00:00:00 2001
From: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 24 Nov 2016 11:48:43 +0100
Subject: [PATCH] lnav: fix compilation

nix-env -i lnav currently result of a failure:

    command_executor.cc:34:21: fatal error: pcrecpp.h: No such file or
    directory

This fixes by using pcre-cpp instead of pcre.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
---
 pkgs/tools/misc/lnav/default.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkgs/tools/misc/lnav/default.nix b/pkgs/tools/misc/lnav/default.nix
index a4a081aeadee..a3b40edb46ca 100644
--- a/pkgs/tools/misc/lnav/default.nix
+++ b/pkgs/tools/misc/lnav/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, pcre, sqlite, ncurses,
+{ stdenv, fetchFromGitHub, pcre-cpp, sqlite, ncurses,
   readline, zlib, bzip2, autoconf, automake }:
 
 stdenv.mkDerivation rec {
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
     zlib
     bzip2
     ncurses
-    pcre
+    pcre-cpp
     readline
     sqlite
   ];