From 7da07a5e1ff80d603163e660cfd6a4057e54f864 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 4 Jan 2025 19:47:12 +0100 Subject: ... --- modules/uucp.nix | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'modules/uucp.nix') diff --git a/modules/uucp.nix b/modules/uucp.nix index abca2acb..10f7297b 100644 --- a/modules/uucp.nix +++ b/modules/uucp.nix @@ -314,32 +314,7 @@ in { in listToAttrs (map wrapper ["uucico" "cu" "uucp" "uuname" "uustat" "uux" "uuxqt"]); nixpkgs.overlays = [(self: super: { - uucp = super.lib.overrideDerivation super.uucp (oldAttrs: { - configureFlags = "--with-newconfigdir=/etc/uucp"; - patches = [ - (super.writeText "mailprogram" '' - 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 - '') - ]; - }); - rmail = super.writeScriptBin "rmail" '' - #!${super.stdenv.shell} - + rmail = super.writeShellScriptBin "rmail" '' # Dummy UUCP rmail command for postfix/qmail systems IFS=" " read junk from junk junk junk junk junk junk junk relay -- cgit v1.2.3