about summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/firefox/wrapper.nix
diff options
context:
space:
mode:
authorDoctorDalek1963 <dyson.dyson@icloud.com>2024-03-25 00:47:02 +0000
committerDoctorDalek1963 <dyson.dyson@icloud.com>2024-03-25 00:47:05 +0000
commitfbbf99cd0f31683aaf60333962c5b14886e6bbba (patch)
tree1b54214784e3122272c22e7f015be900932881b7 /pkgs/applications/networking/browsers/firefox/wrapper.nix
parent0d2dc20762f21c3e43fc2acc03f9552adbc392bc (diff)
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.
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox/wrapper.nix')
-rw-r--r--pkgs/applications/networking/browsers/firefox/wrapper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix
index 0f62075439c5d..15c8ffc3b22d6 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 [];