summaryrefslogtreecommitdiff
path: root/overlays/uucp/default.nix
blob: 4189dbcc2d274b4a575bb61fe99090e1e66d3fdc (plain)
1
2
3
4
5
6
7
8
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";
  });
}