summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnna Lee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>2023-11-13 20:31:49 -0800
committerBjørn Forsman <bjorn.forsman@gmail.com>2023-11-14 09:07:03 +0100
commitb69ef74c95d0f09ba414e549a9947ffff243fc42 (patch)
treef9b3ac563a72c035dbccd427ab22ffc2521d3594
parent0f98cccb0a873c11806690b232712efa08cbdf72 (diff)
downloadnixpkgs-b69ef74c95d0f09ba414e549a9947ffff243fc42.tar
nixpkgs-b69ef74c95d0f09ba414e549a9947ffff243fc42.tar.gz
nixpkgs-b69ef74c95d0f09ba414e549a9947ffff243fc42.tar.bz2
nixpkgs-b69ef74c95d0f09ba414e549a9947ffff243fc42.tar.lz
nixpkgs-b69ef74c95d0f09ba414e549a9947ffff243fc42.tar.xz
nixpkgs-b69ef74c95d0f09ba414e549a9947ffff243fc42.tar.zst
nixpkgs-b69ef74c95d0f09ba414e549a9947ffff243fc42.zip
collectd: fix building with python3.11
add upstream patch
https://github.com/collectd/collectd/commit/623e95394e0e62e7f9ced2104b786d21e9c0bf53
to fix building with python3.11
-rw-r--r--pkgs/tools/system/collectd/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/system/collectd/default.nix b/pkgs/tools/system/collectd/default.nix
index b350558887f..5dcd8544837 100644
--- a/pkgs/tools/system/collectd/default.nix
+++ b/pkgs/tools/system/collectd/default.nix
@@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
       url = "https://github.com/collectd/collectd/commit/3f575419e7ccb37a3b10ecc82adb2e83ff2826e1.patch";
       sha256 = "0jwjdlfl0dp7mlbwygp6h0rsbaqfbgfm5z07lr5l26z6hhng2h2y";
     })
+    (fetchpatch {
+      name = "no_include_longintrepr.patch";
+      url = "https://github.com/collectd/collectd/commit/623e95394e0e62e7f9ced2104b786d21e9c0bf53.patch";
+      hash = "sha256-0eD7yNW3TWVyNMpLsADhYFDvy6COoCaI0kS1XJrwDgM=";
+    })
   ];
 
   nativeBuildInputs = [ pkg-config autoreconfHook ];