mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
lnav: fix running in tmux (#410901)
This commit is contained in:
commit
0336501039
1 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue