From b07693e71826d79953c28f7ee2a95a08e2e72e7d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 8 Jul 2020 06:31:48 +0200 Subject: [PATCH] wallabag: apply patches to add missing migrations in initial setup Fixes: https://github.com/wallabag/wallabag/issues/3662 --- pkgs/servers/web-apps/wallabag/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/web-apps/wallabag/default.nix b/pkgs/servers/web-apps/wallabag/default.nix index e4f1a3009ee1..48afdc5c01da 100644 --- a/pkgs/servers/web-apps/wallabag/default.nix +++ b/pkgs/servers/web-apps/wallabag/default.nix @@ -13,7 +13,15 @@ stdenv.mkDerivation rec { outputs = [ "out" ]; - patches = [ ./wallabag-data.patch ]; # exposes $WALLABAG_DATA + patches = [ + ./wallabag-data.patch # exposes $WALLABAG_DATA + (fetchurl { + # Fixes "Uncaught RuntimeException: Setting "piwik_enabled" couldn't be found."; https://github.com/wallabag/wallabag/issues/3662 + # Remove >= 2.4.0 + url = "https://github.com/wallabag/wallabag/pull/3868.patch"; + sha256 = "0pfxsv8ncaxkjkybim3v3iswmfv1vbjlzmvj50nn9blvjwc9gxjg"; + }) + ]; dontBuild = true;