summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2023-01-27 16:35:46 +0100
committerGitHub <noreply@github.com>2023-01-27 16:35:46 +0100
commit748c2b416c96658254976061736237251d754fbc (patch)
tree6dd2ab797749b34ec52fb1ac5c69ef136eeede2d
parent66e0e5ad74497c114784cb5db8344a2d4b757fe9 (diff)
downloadnixpkgs-748c2b416c96658254976061736237251d754fbc.tar
nixpkgs-748c2b416c96658254976061736237251d754fbc.tar.gz
nixpkgs-748c2b416c96658254976061736237251d754fbc.tar.bz2
nixpkgs-748c2b416c96658254976061736237251d754fbc.tar.lz
nixpkgs-748c2b416c96658254976061736237251d754fbc.tar.xz
nixpkgs-748c2b416c96658254976061736237251d754fbc.tar.zst
nixpkgs-748c2b416c96658254976061736237251d754fbc.zip
nixos/wordpress: fix minor syntax error
-rw-r--r--nixos/modules/services/web-apps/wordpress.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/wordpress.nix b/nixos/modules/services/web-apps/wordpress.nix
index a8788bf8440..aabfb2261bb 100644
--- a/nixos/modules/services/web-apps/wordpress.nix
+++ b/nixos/modules/services/web-apps/wordpress.nix
@@ -154,7 +154,7 @@ let
           type = with types; coercedTo
             (listOf path)
             (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))
+              listToAttrs (map (p: nameValuePair (p.name or (throw "${p} does not have a name")) p) l))
             (attrsOf path);
           default = {};
           description = lib.mdDoc ''