1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-06 00:51:04 +01:00

firefox: fix missing lib (#6744)

This commit is contained in:
Austin Horstman 2025-04-01 08:25:30 -05:00 committed by GitHub
parent c21383b556
commit 55cf1f1632
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -385,10 +385,9 @@ in {
}; };
bookmarks = mkOption { bookmarks = mkOption {
type = (with types; type = (types.coercedTo bookmarkTypes.settingsType (bookmarks:
coercedTo bookmarkTypes.settingsType (bookmarks:
if bookmarks != { } then if bookmarks != { } then
warn '' lib.warn ''
${cfg.name} bookmarks have been refactored into a submodule that now explicitly require a 'force' option to be enabled. ${cfg.name} bookmarks have been refactored into a submodule that now explicitly require a 'force' option to be enabled.
Replace: Replace:
@ -406,11 +405,10 @@ in {
settings = bookmarks; settings = bookmarks;
} }
else else
{ }) (submodule ({ config, ... }: { }) (types.submodule ({ config, ... }:
import ./profiles/bookmarks.nix { import ./profiles/bookmarks.nix {
inherit config lib pkgs; inherit config lib pkgs;
modulePath = modulePath modulePath = modulePath ++ [ "profiles" name "bookmarks" ];
++ [ "profiles" name "bookmarks" ];
}))); })));
default = { }; default = { };
internal = !enableBookmarks; internal = !enableBookmarks;