Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wordpress: security upgrade: 4.7.2 -> 4.7.3 & other improvements
* 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.
- Loading branch information
1 parent
ae1c270
commit 674d8cf
Showing
4 changed files
with
29 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
674d8cf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks the channel:
It seems the wmutils-opt change is misplaced.
674d8cf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed it, sorry i didn't see this!