about summary refs log tree commit diff
path: root/pkgs/applications/graphics/apitrace/default.nix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2021-10-14 14:42:44 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2022-02-27 10:26:50 +0100
commit84635a6e17a8907b1f28d3efb9d3b98ea61cbe66 (patch)
treeab72d5252f702a8150973e8bf032c7e912158098 /pkgs/applications/graphics/apitrace/default.nix
parent65f5fdb81823a4875e8c714211ef117d3ededadf (diff)
apitrace: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/155150225
Diffstat (limited to 'pkgs/applications/graphics/apitrace/default.nix')
-rw-r--r--pkgs/applications/graphics/apitrace/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/apitrace/default.nix b/pkgs/applications/graphics/apitrace/default.nix
index f842cf6f5c4b8..756f0da9f3481 100644
--- a/pkgs/applications/graphics/apitrace/default.nix
+++ b/pkgs/applications/graphics/apitrace/default.nix
@@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
     owner = "apitrace";
   };
 
+  patches = [
+    # glibc 2.34 compat
+    # derived from https://github.com/apitrace/apitrace/commit/d28a980802ad48568c87da02d630c8babfe163bb
+    ./glibc-2.34-compat.patch
+  ];
+
   # LD_PRELOAD wrappers need to be statically linked to work against all kinds
   # of games -- so it's fine to use e.g. bundled snappy.
   buildInputs = [ libX11 procps python2 libdwarf qtbase qtwebkit ];