lxc: fix build w/glibc-2.36

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

We don't need the `meson.build` fixes because (1) lxc4 doesn't use meson
and (2) it contains some fixes to make sure it works both with newer and
older glibc versions. Since we only ship glibc 2.36 from now on, we can
skip that.

+8 -1
+8 -1
pkgs/os-specific/linux/lxc/default.nix
··· 1 { lib, stdenv, fetchurl, autoreconfHook, pkg-config, perl, docbook2x 2 - , docbook_xml_dtd_45, python3Packages, pam 3 4 # Optional Dependencies 5 , libapparmor ? null, gnutls ? null, libselinux ? null, libseccomp ? null ··· 26 27 patches = [ 28 ./support-db2x.patch 29 ]; 30 31 postPatch = ''
··· 1 { lib, stdenv, fetchurl, autoreconfHook, pkg-config, perl, docbook2x 2 + , docbook_xml_dtd_45, python3Packages, pam, fetchpatch 3 4 # Optional Dependencies 5 , libapparmor ? null, gnutls ? null, libselinux ? null, libseccomp ? null ··· 26 27 patches = [ 28 ./support-db2x.patch 29 + 30 + # Backport of https://github.com/lxc/lxc/pull/4179 for glibc-2.36 build 31 + (fetchpatch { 32 + url = "https://github.com/lxc/lxc/commit/c1115e1503bf955c97f4cf3b925a6a9f619764c3.patch"; 33 + sha256 = "sha256-aC1XQesRJfkyQnloB3NvR4p/1WITrqkGYzw50PDxDrs="; 34 + excludes = [ "meson.build" ]; 35 + }) 36 ]; 37 38 postPatch = ''