lnav: fix running in tmux (#410901)

This commit is contained in:
Sandro 2025-06-08 22:26:39 +02:00 committed by GitHub
commit 0336501039
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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