lnav: fix running in tmux

This commit is contained in:
Guillaume Girol 2025-05-25 12:00:00 +00:00
parent 063f43f2db
commit 511c01740c

View file

@ -1,10 +1,10 @@
{
lib,
stdenv,
fetchpatch,
fetchFromGitHub,
pcre2,
sqlite,
ncurses,
readline,
zlib,
bzip2,
@ -34,6 +34,16 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-XS3/km2sJwRnWloLKu9X9z07+qBFRfUsaRpZVYjoclI=";
};
patches = [
# fixes lnav in tmux by patching vendored dependency notcurses
# https://github.com/tstack/lnav/issues/1390
# remove on next release
(fetchpatch {
url = "https://github.com/tstack/lnav/commit/5e0bfa483714f05397265a690960d23ae22e1838.patch";
hash = "sha256-dArPJik9KVI0KQjGw8W11oqGrbsBCNOr93gaH3yDPpo=";
})
];
enableParallelBuilding = true;
separateDebugInfo = true;
@ -59,7 +69,6 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs =
[
bzip2
ncurses
pcre2
readline
sqlite