procps-ng: apply sanity check patch of SC_ARG_MAX
This commit is contained in:
parent
08ac9ef541
commit
edf43c7c6f
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, ncurses, pkgconfig
|
{ lib, stdenv, fetchurl, fetchpatch, ncurses, pkgconfig
|
||||||
|
|
||||||
# `ps` with systemd support is able to properly report different
|
# `ps` with systemd support is able to properly report different
|
||||||
# attributes like unit name, so we want to have it on linux.
|
# attributes like unit name, so we want to have it on linux.
|
||||||
|
@ -22,6 +22,14 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1br0g93ysqhlv13i1k4lfbimsgxnpy5rgs4lxfc9rkzdbpbaqplj";
|
sha256 = "1br0g93ysqhlv13i1k4lfbimsgxnpy5rgs4lxfc9rkzdbpbaqplj";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.com/procps-ng/procps/-/commit/bb96fc42956c9ed926a1b958ab715f8b4a663dec.diff";
|
||||||
|
sha256 = "0fzsb6ns3fvrszyzsz28qvbmcn135ilr4nwh2z1a0vlpl2fw961z";
|
||||||
|
name = "sysconf-argmax-sanity.patch";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ ncurses ]
|
buildInputs = [ ncurses ]
|
||||||
++ lib.optional withSystemd systemd;
|
++ lib.optional withSystemd systemd;
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
Loading…
Reference in New Issue