2022-01-26 11:17:04 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
2017-02-25 23:02:06 +00:00
|
|
|
{
|
2022-11-01 10:09:48 +00:00
|
|
|
nixpkgs.overlays = [
|
|
|
|
(self: super: {
|
|
|
|
exim =
|
|
|
|
super.exim.overrideAttrs (old: {
|
|
|
|
buildInputs = old.buildInputs ++ [ self.gnutls ];
|
|
|
|
preBuild = /* sh */ ''
|
|
|
|
${old.preBuild}
|
|
|
|
sed -Ei '
|
|
|
|
s:^USE_OPENSSL=.*:# &:
|
|
|
|
s:^# (USE_GNUTLS)=.*:\1=yes:
|
|
|
|
s:^# (USE_GNUTLS_PC=.*):\1:
|
|
|
|
' Local/Makefile
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
})
|
|
|
|
];
|
2022-11-01 10:03:24 +00:00
|
|
|
services.nginx.package = lib.mkDefault (pkgs.nginxStable.override { openssl = pkgs.libressl; });
|
2017-02-25 23:02:06 +00:00
|
|
|
}
|