From e56b761ba3805eea60a5fb831b6169610b131289 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Wed, 8 May 2024 23:02:38 +0100 Subject: [PATCH] rename overlaid dnsmasq package -> dnsmasqSmall avoid clobbering the regular one --- modules/dnsmasq/service.nix | 4 ++-- overlay.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/dnsmasq/service.nix b/modules/dnsmasq/service.nix index d57275e..5d1b695 100644 --- a/modules/dnsmasq/service.nix +++ b/modules/dnsmasq/service.nix @@ -1,6 +1,6 @@ { liminix -, dnsmasq +, dnsmasqSmall , serviceFns , lib }: @@ -27,7 +27,7 @@ longrun { dependencies = [ interface ]; run = '' . ${serviceFns} - ${dnsmasq}/bin/dnsmasq \ + ${dnsmasqSmall}/bin/dnsmasq \ --user=${user} \ --domain=${domain} \ --group=${group} \ diff --git a/overlay.nix b/overlay.nix index d90f6ea..aded118 100644 --- a/overlay.nix +++ b/overlay.nix @@ -94,7 +94,7 @@ extraPkgs // { else {} ); - dnsmasq = + dnsmasqSmall = let d = prev.dnsmasq.overrideAttrs(o: { preBuild = '' makeFlagsArray=("COPTS=")