3
0
Fork 0
forked from mirrors/nixpkgs

nixos/wordpress: fix minor syntax error

This commit is contained in:
Jonas Heinrich 2023-01-27 16:35:46 +01:00 committed by GitHub
parent 66e0e5ad74
commit 748c2b416c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ''