From 7da07a5e1ff80d603163e660cfd6a4057e54f864 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 4 Jan 2025 19:47:12 +0100 Subject: ... --- overlays/uucp/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 overlays/uucp/default.nix (limited to 'overlays/uucp/default.nix') diff --git a/overlays/uucp/default.nix b/overlays/uucp/default.nix new file mode 100644 index 00000000..4189dbcc --- /dev/null +++ b/overlays/uucp/default.nix @@ -0,0 +1,9 @@ +{ 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"; + }); +} -- cgit v1.2.3