make dnsmasq smaller

remove dependency on nettle -> gmp -> glibc
This commit is contained in:
Daniel Barlow 2022-10-08 20:05:17 +01:00
parent cd37627cbe
commit 20b9eb16ec

View file

@ -12,10 +12,19 @@ final: prev: {
s6-init-bin = final.callPackage ./pkgs/s6-init-bin {};
s6-rc-database = final.callPackage ./pkgs/s6-rc-database {};
dnsmasq = prev.dnsmasq.override {
dnsmasq =
let d = prev.dnsmasq.overrideAttrs(o: {
preBuild = ''
makeFlagsArray=("COPTS=")
'';
});
in d.override {
dbusSupport = false;
nettle = null;
};
tufted = final.callPackage ./pkgs/tufted {};
pppoe = final.callPackage ./pkgs/pppoe {};