diff options
Diffstat (limited to 'overlays/uucp/default.nix')
-rw-r--r-- | overlays/uucp/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ | |||
1 | { final, prev, ... }: { | ||
2 | uucp = prev.uucp.overrideAttrs (oldAttrs: { | ||
3 | configureFlags = (oldAttrs.configureFlags or []) ++ ["--with-newconfigdir=/etc/uucp"]; | ||
4 | patches = (oldAttrs.patches or []) ++ [ | ||
5 | ./mailprogram.patch | ||
6 | ]; | ||
7 | NIX_CFLAGS_COMPILE = "${oldAttrs.NIX_CFLAGS_COMPILE or ""} -Wno-error=incompatible-pointer-types"; | ||
8 | }); | ||
9 | } | ||