diff options
author | Edward Tjörnhammar <ed@cflags.cc> | 2020-12-02 14:46:53 +0100 |
---|---|---|
committer | Edward Tjörnhammar <ed@cflags.cc> | 2020-12-02 14:46:53 +0100 |
commit | edf43c7c6fa93628bbb1db0a3dc1abc659837089 (patch) | |
tree | 50a53f00a1fefc30b41a59f1880980af2ad715da /pkgs/os-specific/linux/procps-ng | |
parent | 08ac9ef5414a886c902f4c8e0cc4f1a2f35322d1 (diff) | |
download | nixpkgs-edf43c7c6fa93628bbb1db0a3dc1abc659837089.tar nixpkgs-edf43c7c6fa93628bbb1db0a3dc1abc659837089.tar.gz nixpkgs-edf43c7c6fa93628bbb1db0a3dc1abc659837089.tar.bz2 nixpkgs-edf43c7c6fa93628bbb1db0a3dc1abc659837089.tar.lz nixpkgs-edf43c7c6fa93628bbb1db0a3dc1abc659837089.tar.xz nixpkgs-edf43c7c6fa93628bbb1db0a3dc1abc659837089.tar.zst nixpkgs-edf43c7c6fa93628bbb1db0a3dc1abc659837089.zip |
procps-ng: apply sanity check patch of SC_ARG_MAX
Diffstat (limited to 'pkgs/os-specific/linux/procps-ng')
-rw-r--r-- | pkgs/os-specific/linux/procps-ng/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/procps-ng/default.nix b/pkgs/os-specific/linux/procps-ng/default.nix index 466e66a8713..4942710f755 100644 --- a/pkgs/os-specific/linux/procps-ng/default.nix +++ b/pkgs/os-specific/linux/procps-ng/default.nix @@ -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 # attributes like unit name, so we want to have it on linux. @@ -22,6 +22,14 @@ stdenv.mkDerivation rec { sha256 = "1br0g93ysqhlv13i1k4lfbimsgxnpy5rgs4lxfc9rkzdbpbaqplj"; }; + patches = [ + (fetchpatch { + url = "https://gitlab.com/procps-ng/procps/-/commit/bb96fc42956c9ed926a1b958ab715f8b4a663dec.diff"; + sha256 = "0fzsb6ns3fvrszyzsz28qvbmcn135ilr4nwh2z1a0vlpl2fw961z"; + name = "sysconf-argmax-sanity.patch"; + }) + ]; + buildInputs = [ ncurses ] ++ lib.optional withSystemd systemd; nativeBuildInputs = [ pkgconfig ]; |