diff options
author | Florian Klink <flokli@flokli.de> | 2018-09-28 00:59:36 +0200 |
---|---|---|
committer | Ruben Maher <ruben@maher.fyi> | 2018-10-01 02:07:44 +0930 |
commit | 1fd6477b35579ae254999128843e28f848cedaaa (patch) | |
tree | 21ecf8d0f4dde24ed20010a2d6cdfef15ec774ca /pkgs/servers/nextcloud | |
parent | e5b3ea56e1040a4a10141fb822300f502b0a8ba8 (diff) | |
download | nixpkgs-1fd6477b35579ae254999128843e28f848cedaaa.tar nixpkgs-1fd6477b35579ae254999128843e28f848cedaaa.tar.gz nixpkgs-1fd6477b35579ae254999128843e28f848cedaaa.tar.bz2 nixpkgs-1fd6477b35579ae254999128843e28f848cedaaa.tar.lz nixpkgs-1fd6477b35579ae254999128843e28f848cedaaa.tar.xz nixpkgs-1fd6477b35579ae254999128843e28f848cedaaa.tar.zst nixpkgs-1fd6477b35579ae254999128843e28f848cedaaa.zip |
nextcloud: fix sendmail path discovery
Diffstat (limited to 'pkgs/servers/nextcloud')
-rw-r--r-- | pkgs/servers/nextcloud/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/servers/nextcloud/default.nix b/pkgs/servers/nextcloud/default.nix index a0f848da250..3b5e46cdb2a 100644 --- a/pkgs/servers/nextcloud/default.nix +++ b/pkgs/servers/nextcloud/default.nix @@ -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/ |