forked from DGNum/liminix
build smaller versions of hostap and nftables
This commit is contained in:
parent
aa5f8c07e6
commit
4596bc3e88
1 changed files with 10 additions and 0 deletions
10
overlay.nix
10
overlay.nix
|
@ -16,6 +16,14 @@ extraPkgs // {
|
||||||
(if o ? patches then o.patches else []) ++
|
(if o ? patches then o.patches else []) ++
|
||||||
(if patch_needed then [ patch ] else []);
|
(if patch_needed then [ patch ] else []);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
nftables = prev.nftables.overrideAttrs(o: {
|
||||||
|
configureFlags = [
|
||||||
|
"--disable-debug"
|
||||||
|
"--disable-python"
|
||||||
|
"--with-mini-gmp"
|
||||||
|
"--without-cli"
|
||||||
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
dnsmasq =
|
dnsmasq =
|
||||||
|
@ -29,6 +37,8 @@ extraPkgs // {
|
||||||
nettle = null;
|
nettle = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hostapd = prev.hostapd.override { sqlite = null; };
|
||||||
|
|
||||||
dropbear = prev.dropbear.overrideAttrs (o: {
|
dropbear = prev.dropbear.overrideAttrs (o: {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
(echo '#define DSS_PRIV_FILENAME "/run/dropbear/dropbear_dss_host_key"'
|
(echo '#define DSS_PRIV_FILENAME "/run/dropbear/dropbear_dss_host_key"'
|
||||||
|
|
Loading…
Reference in a new issue