From 2c145f45889481a0d92f7d05ba8c8bd0818502bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 7 Sep 2020 18:41:21 +0200 Subject: [PATCH] libbpf: fixup build after the last staging iteration ... and add myself into meta.maintainers :-) --- pkgs/os-specific/linux/libbpf/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/libbpf/default.nix b/pkgs/os-specific/linux/libbpf/default.nix index 0f2f9aa86f42..1c54b93e8abc 100644 --- a/pkgs/os-specific/linux/libbpf/default.nix +++ b/pkgs/os-specific/linux/libbpf/default.nix @@ -25,6 +25,9 @@ stdenv.mkDerivation rec { patchPhase = '' substituteInPlace ../scripts/check-reallocarray.sh \ --replace '/bin/rm' 'rm' + # Without patching this the config-test program will be refused by our CC wrapper. + chmod +w ../scripts + sed -e '2a NIX_ENFORCE_PURITY=0' -i ../scripts/check-reallocarray.sh ''; # FIXME: Multi-output requires some fixes to the way the pkgconfig file is @@ -37,7 +40,7 @@ stdenv.mkDerivation rec { description = "Upstream mirror of libbpf"; homepage = "https://github.com/libbpf/libbpf"; license = with licenses; [ lgpl21 /* or */ bsd2 ]; - maintainers = with maintainers; [ thoughtpolice ]; + maintainers = with maintainers; [ thoughtpolice vcunat ]; platforms = platforms.linux; }; }