From 9bfe7b359a0a14be80f8e1f338b0f8941c3ec436 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 7 Jun 2025 13:11:40 +0200 Subject: ... --- overlays/uucp/default.nix | 9 --------- overlays/uucp/mailprogram.patch | 16 ---------------- 2 files changed, 25 deletions(-) delete mode 100644 overlays/uucp/default.nix delete mode 100644 overlays/uucp/mailprogram.patch (limited to 'overlays/uucp') diff --git a/overlays/uucp/default.nix b/overlays/uucp/default.nix deleted file mode 100644 index 4189dbcc..00000000 --- a/overlays/uucp/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ final, prev, ... }: { - uucp = prev.uucp.overrideAttrs (oldAttrs: { - configureFlags = (oldAttrs.configureFlags or []) ++ ["--with-newconfigdir=/etc/uucp"]; - patches = (oldAttrs.patches or []) ++ [ - ./mailprogram.patch - ]; - NIX_CFLAGS_COMPILE = "${oldAttrs.NIX_CFLAGS_COMPILE or ""} -Wno-error=incompatible-pointer-types"; - }); -} diff --git a/overlays/uucp/mailprogram.patch b/overlays/uucp/mailprogram.patch deleted file mode 100644 index 89ac8f31..00000000 --- a/overlays/uucp/mailprogram.patch +++ /dev/null @@ -1,16 +0,0 @@ - policy.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/policy.h b/policy.h -index 5afe34b..8e92c8b 100644 ---- a/policy.h -+++ b/policy.h -@@ -240,7 +240,7 @@ - the sendmail choice below. Otherwise, select one of the other - choices as appropriate. */ - #if 1 --#define MAIL_PROGRAM "/usr/lib/sendmail -t" -+#define MAIL_PROGRAM "${config.security.wrapperDir}/sendmail -t" - /* #define MAIL_PROGRAM "/usr/sbin/sendmail -t" */ - #define MAIL_PROGRAM_TO_BODY 1 - #define MAIL_PROGRAM_SUBJECT_BODY 1 -- cgit v1.2.3