build smaller versions of hostap and nftables

module-based-network
Daniel Barlow 2023-03-06 17:49:59 +00:00
parent aa5f8c07e6
commit 4596bc3e88
1 changed files with 10 additions and 0 deletions

View File

@ -16,6 +16,14 @@ extraPkgs // {
(if o ? patches then o.patches else []) ++
(if patch_needed then [ patch ] else []);
});
nftables = prev.nftables.overrideAttrs(o: {
configureFlags = [
"--disable-debug"
"--disable-python"
"--with-mini-gmp"
"--without-cli"
];
});
dnsmasq =
@ -29,6 +37,8 @@ extraPkgs // {
nettle = null;
};
hostapd = prev.hostapd.override { sqlite = null; };
dropbear = prev.dropbear.overrideAttrs (o: {
postPatch = ''
(echo '#define DSS_PRIV_FILENAME "/run/dropbear/dropbear_dss_host_key"'