Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: mediawiki 1.45.4 -> 1.46.0 https://repology.org/project/mediawiki/versions attrpath: mediawiki Checking auto update branch... No auto update branch exists Old version 1.45.4" not present in master derivation file with contents: { lib, stdenvNoCC, fetchurl, nixosTests, }: stdenvNoCC.mkDerivation rec { pname = "mediawiki"; version = "1.46.0"; src = fetchurl { url = "https://releases.wikimedia.org/mediawiki/${lib.versions.majorMinor version}/mediawiki-${version}.tar.gz"; hash = "sha256-rDleT/07Y7hqJC79Z5JXUD5GNEW6n5ibUU2dOzQsRWo="; }; patches = [ # NixOS runs the update script on every start as we might need to run some migrations. # Normally this clears all active sessions, for usability we do not do that. ./keep-session-object-cache.diff ]; postPatch = '' substituteInPlace includes/Installer/CliInstaller.php \ --replace-fail '$vars = Installer::getExistingLocalSettings();' '$vars = null;' ''; installPhase = '' runHook preInstall mkdir -p $out/share/mediawiki cp -r * $out/share/mediawiki echo "" > $out/share/mediawiki/LocalSettings.php runHook postInstall ''; passthru.tests = { inherit (nixosTests.mediawiki) mysql postgresql; }; meta = { description = "Collaborative editing software that runs Wikipedia"; license = lib.licenses.gpl2Plus; homepage = "https://www.mediawiki.org/"; platforms = lib.platforms.all; maintainers = with lib.maintainers; [ # for the C3D2 SuperSandro2000 ]; }; }