blob: 76ef71f7b8d74926f140122a91a7bb1e31fac8e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ 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; });
}
|