]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Fix davical connection
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 2 Jun 2021 22:46:15 +0000 (00:46 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 2 Jun 2021 22:46:15 +0000 (00:46 +0200)
pkgs/webapps/davical/default.nix

index 2d27450664e245bcc8b2107dc646515c40002e78..045a93bd370aed6cb7efb1bada2f817738341f68 100644 (file)
@@ -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