brave-apps: better error

sh-initrd-on-root
Zynh Ludwig 2024-10-02 05:18:41 -07:00
parent 9dbd5b0471
commit f62d41ba62
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ in
mapAttrsToList
(n: v:
assert lib.assertMsg (length (filter (v: v != null) (attrValues v)) == 1)
"only one of `url` `urlEval` or `urlFile` may be set: ${toString n} = ${toString (attrNames v)}";
"only one of `url` `urlEval` or `urlFile` may be set: ${toString n} has multiple urls set";
(writeChromiumDesktopApp n (
if v.url != null then v.url
else if v.urlEval != null then evalString v.urlEval