lnav: fix static build

This commit is contained in:
Guillaume Girol 2022-06-25 12:00:00 +00:00
parent 918bf36d30
commit 2515ea7eda

View file

@ -1,5 +1,17 @@
{ lib, stdenv, fetchFromGitHub, pcre-cpp, sqlite, ncurses
, readline, zlib, bzip2, autoconf, automake, curl }:
{ lib
, stdenv
, fetchFromGitHub
, pcre-cpp
, sqlite
, ncurses
, readline
, zlib
, bzip2
, autoconf
, automake
, curl
, buildPackages
}:
stdenv.mkDerivation rec {
pname = "lnav";
@ -20,9 +32,14 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
nativeBuildInputs = [ autoconf automake ];
buildInputs = [
strictDeps = true;
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [
autoconf
automake
zlib
];
buildInputs = [
bzip2
ncurses
pcre-cpp