From 4af076475c9e5718370d4077f1885570443d05d2 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 16 Aug 2026 10:29:49 +0300 Subject: fix(overlays/dnsmasq): Fix when no patches are supplied --- overlays/dnsmasq/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlays/dnsmasq/default.nix b/overlays/dnsmasq/default.nix index 2f8ebcc..fc8273d 100644 --- a/overlays/dnsmasq/default.nix +++ b/overlays/dnsmasq/default.nix @@ -1,6 +1,6 @@ final: prev: { dnsmasq = prev.dnsmasq.overrideAttrs (prevAttrs: { - patches = prevAttrs.patches ++ + patches = prevAttrs.patches or [] ++ (if prevAttrs.version == "2.92rel2" then [ ./0001-Improve-memory-allocation-for-etc-hosts-etc.patch ] else [ ]); -- cgit v1.3.1-26-gb76a