php: use system-sendmail
By default PHP is looking for sendmail in /usr/bin/sendmail which isn't a correct path for NixOS.
This commit is contained in:
parent
ae18f738a2
commit
1d43f3490e
1 changed files with 5 additions and 1 deletions
|
@ -8,7 +8,7 @@ let
|
|||
{ callPackage, lib, stdenv, nixosTests, config, fetchurl, makeWrapper
|
||||
, symlinkJoin, writeText, autoconf, automake, bison, flex, libtool
|
||||
, pkgconfig, re2c, apacheHttpd, libargon2, libxml2, pcre, pcre2
|
||||
, systemd, valgrind, xcbuild
|
||||
, systemd, system-sendmail, valgrind, xcbuild
|
||||
|
||||
, version
|
||||
, sha256
|
||||
|
@ -195,6 +195,10 @@ let
|
|||
++ lib.optional systemdSupport "--with-fpm-systemd"
|
||||
++ lib.optional valgrindSupport "--with-valgrind=${valgrind.dev}"
|
||||
++ lib.optional ztsSupport "--enable-maintainer-zts"
|
||||
|
||||
|
||||
# Sendmail
|
||||
++ [ "PROG_SENDMAIL=${system-sendmail}/bin/sendmail" ]
|
||||
;
|
||||
|
||||
hardeningDisable = [ "bindnow" ];
|
||||
|
|
Loading…
Reference in a new issue