3
0
Fork 0
forked from mirrors/nixpkgs

nixos/wordpress: ensure default sites includes a theme

This commit is contained in:
Colin Arnott 2023-01-15 11:43:27 +00:00
parent 1754920c76
commit 64f3a304db
No known key found for this signature in database
GPG key ID: 0447A663F7F3E236
3 changed files with 6 additions and 5 deletions

View file

@ -305,9 +305,9 @@
<listitem>
<para>
The <literal>wordpress</literal> derivation no longer contains
any builtin plugins or themes; these can be found in
<literal>wordpressPackages.{plugins,themes}</literal>,
respectively.
any builtin plugins or themes. If you need them you have to
add them back to prevent your site from breaking. You can find
them in <literal>wordpressPackages.{plugins,themes}</literal>.
</para>
</listitem>
<listitem>

View file

@ -77,7 +77,7 @@ In addition to numerous new and upgraded packages, this release has the followin
- `tut` has been updated from 1.0.34 to 2.0.0, and now uses the TOML format for the configuration file instead of INI. Additional information can be found [here](https://github.com/RasmusLindroth/tut/releases/tag/2.0.0).
- The `wordpress` derivation no longer contains any builtin plugins or themes; these can be found in `wordpressPackages.{plugins,themes}`, respectively.
- The `wordpress` derivation no longer contains any builtin plugins or themes. If you need them you have to add them back to prevent your site from breaking. You can find them in `wordpressPackages.{plugins,themes}`.
- `llvmPackages_rocm.llvm` will not contain `clang` or `compiler-rt`. `llvmPackages_rocm.clang` will not contain `llvm`. `llvmPackages_rocm.clangNoCompilerRt` has been removed in favor of using `llvmPackages_rocm.clang-unwrapped`.

View file

@ -156,7 +156,8 @@ let
(l: warn "setting this option with a list is deprecated"
listToAttrs (map (p: nameValuePair (p.name or (throw "${p} does not have a name")) p) l))
(attrsOf path);
default = {};
default = { inherit (pkgs.wordpressPackages.themes) twentytwentythree; };
defaultText = literalExpression "{ inherit (pkgs.wordpressPackages.themes) twentytwentythree; }";
description = lib.mdDoc ''
Path(s) to respective theme(s) which are copied from the 'theme' directory.