security-workarounds: let exim run with gnutls
This commit is contained in:
parent
e5bb7bf7d1
commit
a5c08e9699
@ -1,4 +1,20 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
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
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
services.nginx.package = lib.mkDefault (pkgs.nginxStable.override { openssl = pkgs.libressl; });
|
services.nginx.package = lib.mkDefault (pkgs.nginxStable.override { openssl = pkgs.libressl; });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user