nextcloud: fix sendmail path discovery

This commit is contained in:
Florian Klink 2018-09-28 00:59:36 +02:00 committed by Ruben Maher
parent e5b3ea56e1
commit 1fd6477b35

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, fetchpatch }:
stdenv.mkDerivation rec {
name = "nextcloud-${version}";
@ -9,6 +9,12 @@ stdenv.mkDerivation rec {
sha256 = "14ymc6fr91735yyc2gqh7c89mbbwsgamhhysf6crp9kp27l83z5a";
};
patches = [ (fetchpatch {
name = "Mailer-discover-sendmail-path-instead-of-hardcoding-.patch";
url = https://github.com/nextcloud/server/pull/11404.patch;
sha256 = "1h0cqnfwn735vqrm3yh9nh6a7h6srr9h29p13vywd6rqbcndqjjd";
}) ];
installPhase = ''
mkdir -p $out/
cp -R . $out/