lnav: fix static build
This commit is contained in:
parent
918bf36d30
commit
2515ea7eda
|
@ -1,5 +1,17 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, pcre-cpp, sqlite, ncurses
|
{ lib
|
||||||
, readline, zlib, bzip2, autoconf, automake, curl }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pcre-cpp
|
||||||
|
, sqlite
|
||||||
|
, ncurses
|
||||||
|
, readline
|
||||||
|
, zlib
|
||||||
|
, bzip2
|
||||||
|
, autoconf
|
||||||
|
, automake
|
||||||
|
, curl
|
||||||
|
, buildPackages
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "lnav";
|
pname = "lnav";
|
||||||
|
@ -20,9 +32,14 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake ];
|
strictDeps = true;
|
||||||
buildInputs = [
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
zlib
|
zlib
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
bzip2
|
bzip2
|
||||||
ncurses
|
ncurses
|
||||||
pcre-cpp
|
pcre-cpp
|
||||||
|
|
Loading…
Reference in a new issue