From f91fb470bc5404b0198bbe2c427aaf8bac5857fa Mon Sep 17 00:00:00 2001 From: rcerc <88944439+rcerc@users.noreply.github.com> Date: Thu, 21 Jul 2022 16:52:47 -0400 Subject: [PATCH] firefox: use `coercedTo` to convert bookmarks to a list --- modules/programs/firefox.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/programs/firefox.nix b/modules/programs/firefox.nix index 83303f68..c53b4f50 100644 --- a/modules/programs/firefox.nix +++ b/modules/programs/firefox.nix @@ -86,8 +86,7 @@ let lib.concatStringsSep "\n" (map (itemToHTMLOrRecurse indentLevel) bookmarks); - bookmarkEntries = allItemsToHTML 1 - (if isAttrs bookmarks then lib.attrValues bookmarks else bookmarks); + bookmarkEntries = allItemsToHTML 1 bookmarks; in pkgs.writeText "firefox-bookmarks.html" ''