From 2a1e6925224f0eefae0300b0f99f93a02098ba42 Mon Sep 17 00:00:00 2001 From: schweby Date: Sat, 11 Dec 2021 13:20:42 +0100 Subject: [PATCH] services/lantifa: set mediawiki-version from 21.11 due to a wikiDB issue the mediawiki version in unstable (37) is not compatible. switching to 21.05 would mean a downgrade, so this is the hack until we fully upgrade to 21.11 --- services/lantifa.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/lantifa.nix b/services/lantifa.nix index 78ee25d..f1f0997 100644 --- a/services/lantifa.nix +++ b/services/lantifa.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, profiles, modules, evalConfig, ... }: let - unstable = import (import ../nix/sources.nix).nixpkgs-unstable {}; + new = import (import ../nix/sources.nix).nixpkgs-new {}; in { containers.lantifa = { autoStart = true; @@ -37,13 +37,13 @@ in { services.mediawiki = { enable = true; name = "LANtifa"; - package = unstable.mediawiki; + package = new.mediawiki; database.createLocally = true; passwordFile = "/var/lib/mediawiki/mediawiki-password"; extraConfig = let wikidb = pkgs.fetchzip { - url = "http://www.kennel17.co.uk/uploads/testwiki/archive/e/e9/20210407232657%21WikiDB.zip"; - sha256 = "0d4f2ygglz4w515a7lgw59500q3xmr92xxhsmh8p204yaa769x8v"; + url = "https://www.kennel17.co.uk/uploads/testwiki/e/e9/WikiDB.zip"; + sha256 = "0pns9fk1ws54m7rgbfsrxqh6ayab16mmnvzba8m4malljgrbil8b"; }; in '' // Configure short URLs