lol

Merge pull request #196591 from helsinki-systems/feat/exim-pkg-changes

exim: various changes

authored by

ajs124 and committed by
GitHub
52593f7a dc075faa

+11 -1
+11 -1
pkgs/servers/mail/exim/default.nix
··· 17 17 hash = "sha256-KZpWknsus0d9qv08W9oCvGflxOWJinrq8nQIdSeM8aM="; 18 18 }; 19 19 20 + enableParallelBuilding = true; 21 + 20 22 nativeBuildInputs = [ pkg-config ]; 21 23 buildInputs = [ coreutils db openssl perl pcre2 ] 22 24 ++ lib.optional enableLDAP openldap ··· 27 29 ++ lib.optional enableDMARC opendmarc 28 30 ++ lib.optional enableRedis hiredis; 29 31 30 - preBuild = '' 32 + configurePhase = '' 33 + runHook preConfigure 34 + 31 35 sed ' 32 36 s:^\(BIN_DIRECTORY\)=.*:\1='"$out"'/bin: 33 37 s:^\(CONFIGURE_FILE\)=.*:\1=/etc/exim.conf: ··· 90 94 #/^\s*#.*/d 91 95 #/^\s*$/d 92 96 ' < src/EDITME > Local/Makefile 97 + 98 + runHook postConfigure 93 99 ''; 94 100 95 101 installPhase = '' 102 + runHook preInstall 103 + 96 104 mkdir -p $out/bin $out/share/man/man8 97 105 cp doc/exim.8 $out/share/man/man8 98 106 ··· 106 114 for i in mailq newaliases rmail rsmtp runq sendmail; do 107 115 ln -s exim $i 108 116 done ) 117 + 118 + runHook postInstall 109 119 ''; 110 120 111 121 meta = with lib; {