From fbbf99cd0f31683aaf60333962c5b14886e6bbba Mon Sep 17 00:00:00 2001 From: DoctorDalek1963 Date: Mon, 25 Mar 2024 00:47:02 +0000 Subject: [PATCH] firefox: update warning about nativeMessagingHosts The warning previously asked users to add a package to `nativeMessagingHosts.packages` instead of using a particular `cfg` attribute, but `nativeMessagingHosts` is now a list, so the warning gave incorrect advice. --- pkgs/applications/networking/browsers/firefox/wrapper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix index 0f62075439c5..15c8ffc3b22d 100644 --- a/pkgs/applications/networking/browsers/firefox/wrapper.nix +++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix @@ -67,7 +67,7 @@ let deprecatedNativeMessagingHost = option: pkg: if (cfg.${option} or false) then - lib.warn "The cfg.${option} argument for `firefox.override` is deprecated, please add `pkgs.${pkg.pname}` to `nativeMessagingHosts.packages` instead" + lib.warn "The cfg.${option} argument for `firefox.override` is deprecated, please add `pkgs.${pkg.pname}` to `nativeMessagingHosts` instead" [pkg] else [];