diff options
author | Vladimír Čunát <v@cunat.cz> | 2020-09-07 18:41:21 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2020-09-07 18:44:17 +0200 |
commit | 2c145f45889481a0d92f7d05ba8c8bd0818502bd (patch) | |
tree | d238e01b8f00621aa07a9fb19eb5ddee157eebcc /pkgs/os-specific/linux/libbpf | |
parent | fed923247a7eca63607f8f2c4347af2f0842c61e (diff) |
libbpf: fixup build after the last staging iteration
... and add myself into meta.maintainers :-)
Diffstat (limited to 'pkgs/os-specific/linux/libbpf')
-rw-r--r-- | pkgs/os-specific/linux/libbpf/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/libbpf/default.nix b/pkgs/os-specific/linux/libbpf/default.nix index 0f2f9aa86f424..1c54b93e8abcc 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; }; } |