@@ -25,6 +25,9 @@ stdenv.mkDerivation rec {
2525 patchPhase = ''
2626 substituteInPlace ../scripts/check-reallocarray.sh \
2727 --replace '/bin/rm' 'rm'
28+ # Without patching this the config-test program will be refused by our CC wrapper.
29+ chmod +w ../scripts
30+ sed -e '2a NIX_ENFORCE_PURITY=0' -i ../scripts/check-reallocarray.sh
2831 '';
2932
3033 # FIXME: Multi-output requires some fixes to the way the pkgconfig file is
@@ -37,7 +40,7 @@ stdenv.mkDerivation rec {
3740 description = "Upstream mirror of libbpf";
3841 homepage = "https://github.com/libbpf/libbpf";
3942 license = with licenses; [ lgpl21 /* or */ bsd2 ];
40− maintainers = with maintainers; [ thoughtpolice ];
43+ maintainers = with maintainers; [ thoughtpolice vcunat ];
4144 platforms = platforms.linux;
4245 };
4346}