From: Ismaƫl Bouya Date: Wed, 2 Jun 2021 22:46:15 +0000 (+0200) Subject: Fix davical connection X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=bd493c8f9b2d83f41556e55f2e0fbc59fa46a75a;p=perso%2FImmae%2FConfig%2FNix.git Fix davical connection --- diff --git a/pkgs/webapps/davical/default.nix b/pkgs/webapps/davical/default.nix index 2d27450..045a93b 100644 --- a/pkgs/webapps/davical/default.nix +++ b/pkgs/webapps/davical/default.nix @@ -10,6 +10,10 @@ stdenv.mkDerivation rec { tar --one-top-level -xf $curSrc ''; makeFlags = "all"; + patchPhase = '' + # https://gitlab.com/davical-project/davical/-/issues/229 + sed -i -e 's/"newpass1"/"newpass1", "password"/g' htdocs/always.php + ''; installPhase = '' mkdir -p $out cp -ra config dba docs htdocs inc locale po scripts testing zonedb $out