wordpress: security upgrade: 4.7.2 -> 4.7.3 & other improvements (#23837)
* Moved the wordpress sources derivation to the attribute pkgs.wordpress. This makes it easier to override. * Also introduce the `package` option for the wordpress virtual host config which defaults to pkgs.wordpress. * Also fixed the test in nixos/tests/wordpress.nix.
This commit is contained in:
committed by
Joachim Schiele
parent
e916236130
commit
308c09d41f
@@ -0,0 +1,12 @@
|
||||
# Upgrading? We have a test! nix-build ./nixos/tests/wordpress.nix
|
||||
{ fetchFromGitHub, lib } : fetchFromGitHub {
|
||||
owner = "WordPress";
|
||||
repo = "WordPress";
|
||||
rev = "4.7.3";
|
||||
sha256 = "05gggm40065abylp6bdc0zn0q6ahcggyh4q6rk0ak242q8v5fm5b";
|
||||
meta = {
|
||||
homepage = https://wordpress.org;
|
||||
description = "WordPress is open source software you can use to create a beautiful website, blog, or app.";
|
||||
license = lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user