elfutils is reqd by iproute2 (for bpf?), build sans kitchen sink

This commit is contained in:
Daniel Barlow 2024-07-24 22:07:58 +01:00
parent 79a3a45061
commit 70ca7fac17
1 changed files with 15 additions and 0 deletions

View File

@ -113,6 +113,21 @@ extraPkgs // {
'';
});
elfutils =
let native = (with final.stdenv; (buildPlatform == hostPlatform));
in if native
then prev.elfutils
else
let
e = prev.elfutils.overrideAttrs(o: {
configureFlags = o.configureFlags ++[
"ac_cv_has_stdatomic=no"
];
});
in e.override {
enableDebuginfod = false;
};
hostapd =
let
config = [