mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +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,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
|
fetchpatch,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
pcre2,
|
pcre2,
|
||||||
sqlite,
|
sqlite,
|
||||||
ncurses,
|
|
||||||
readline,
|
readline,
|
||||||
zlib,
|
zlib,
|
||||||
bzip2,
|
bzip2,
|
||||||
|
@ -34,6 +34,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
hash = "sha256-XS3/km2sJwRnWloLKu9X9z07+qBFRfUsaRpZVYjoclI=";
|
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;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
separateDebugInfo = true;
|
separateDebugInfo = true;
|
||||||
|
@ -59,7 +69,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[
|
[
|
||||||
bzip2
|
bzip2
|
||||||
ncurses
|
|
||||||
pcre2
|
pcre2
|
||||||
readline
|
readline
|
||||||
sqlite
|
sqlite
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue