lol

gamemode: fix build w/ glibc-2.36

To correctly find the implementation of `pidfd_open` - which was
introduced in glibc 2.36 - an additional `#include` is needed. The newly
introduced patch adds that.

Failing Hydra build: https://hydra.nixos.org/build/214432977

+6
+6
pkgs/tools/games/gamemode/default.nix
··· 34 34 ./preload-nix-workaround.patch 35 35 # Do not install systemd sysusers configuration 36 36 ./no-install-systemd-sysusers.patch 37 + 38 + # fix build with glibc >=2.36 (declaration of pidfd_open) 39 + (fetchpatch { 40 + url = "https://github.com/FeralInteractive/gamemode/commit/4934191b1928ef695c3e8af21e75781f8591745f.patch"; 41 + sha256 = "sha256-pWf2NGbd3gEJFwVP/EIJRbTD29V7keTQHy388enktsY="; 42 + }) 37 43 ]; 38 44 39 45 postPatch = ''