mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-22 00:04:01 +01:00
nixfmt
This commit is contained in:
parent
bcf14f983e
commit
604798589a
@ -57,7 +57,7 @@ in
|
||||
}; # Github login
|
||||
ConfirmEdit = null; # Combat SPAM with a simple Captcha
|
||||
# https://www.mediawiki.org/wiki/Extension:MobileFrontend/
|
||||
} // pkgs.callPackages ./extensions.nix {};
|
||||
} // pkgs.callPackages ./extensions.nix { };
|
||||
extraConfig = ''
|
||||
#$wgDebugLogFile = "/var/log/mediawiki/debug.log";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchurl }: {
|
||||
"MobileFrontend" = fetchurl { url = "https://github.com/NixOS/nixos-wiki-infra/releases/download/MobileFrontend-REL1_41-7e9d1d4.tar.gz/MobileFrontend-REL1_41-7e9d1d4.tar.gz"; sha256 = "1j9b2f5kxv68yl5652pqqfgchdkcc7p7j0afv2f3i4v6yz9ajr1n"; };
|
||||
"DarkMode" = fetchurl { url = "https://github.com/NixOS/nixos-wiki-infra/releases/download/DarkMode-REL1_41-b2fefd2.tar.gz/DarkMode-REL1_41-b2fefd2.tar.gz"; sha256 = "1inbbqd25qacxmxjxl7rx153rapgk61433cs49cjmwcdx62w4vsj"; };
|
||||
}
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ def write_nix_file(file: IO[str], mirrored_extensions: list[Extension]) -> None:
|
||||
file.write(
|
||||
f' "{extension.name}" = fetchurl {{ url = "{extension.url}"; sha256 = "{extension.hash}"; }};\n'
|
||||
)
|
||||
file.write("}")
|
||||
file.write("}\n")
|
||||
|
||||
|
||||
def get_mediawiki_version(mediawiki_version: str | None = None) -> str:
|
||||
|
Loading…
Reference in New Issue
Block a user