postfix: format

This commit is contained in:
Sandro Jäckel
2021-07-27 09:47:18 +02:00
parent 455712841c
commit 03418a1ba6
+4 -6
View File
@@ -23,9 +23,7 @@ let
++ lib.optional withLDAP "-lldap");
in stdenv.mkDerivation rec {
pname = "postfix";
version = "3.6.1";
src = fetchurl {
@@ -35,10 +33,10 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper m4 ];
buildInputs = [ db openssl cyrus_sasl icu libnsl pcre ]
++ lib.optional withPgSQL postgresql
++ lib.optional withMySQL libmysqlclient
++ lib.optional withSQLite sqlite
++ lib.optional withLDAP openldap;
++ lib.optional withPgSQL postgresql
++ lib.optional withMySQL libmysqlclient
++ lib.optional withSQLite sqlite
++ lib.optional withLDAP openldap;
hardeningDisable = [ "format" ];
hardeningEnable = [ "pie" ];