git.iko.soy/typeable/nixpkgs
on master help sign in
libbpf: fixup build after the last staging iteration

... and add myself into meta.maintainers :-)

commit2c145f45889481a0d92f7d05ba8c8bd0818502bd authorVladimír Čunát <v@cunat.cz> dateMon 7 Sep 2020, 18:41 (6 years ago) parentfed9232
1 file changed+4−1
pkgs/os-specific/linux/libbpf/default.nix+4−1
pkgs/os-specific/linux/libbpf/default.nix+4−1
@@ -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}