From 8de91807c079fa480d0ec004944a61e325fa35ae Mon Sep 17 00:00:00 2001 From: kxxt Date: Sun, 4 Jun 2023 18:44:26 +0800 Subject: [PATCH] firefox-devedition: change binary name and desktop entry Firefox and Firefox DevEdition shouldn't have the same binary name because it makes it hard to use these two browsers at the same time. For example, In a common use case, one use Firefox for life and use Firefox Dev Edition for web development. Update icon name to avoid name collision. --- pkgs/top-level/all-packages.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 09b5a35c308d..cc6d4bf75509 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31877,7 +31877,12 @@ with pkgs; firefox = wrapFirefox firefox-unwrapped { }; firefox-beta = wrapFirefox firefox-beta-unwrapped { }; - firefox-devedition = wrapFirefox firefox-devedition-unwrapped { }; + firefox-devedition = wrapFirefox firefox-devedition-unwrapped { + nameSuffix = "-devedition"; + desktopName = "Firefox Developer Edition"; + wmClass = "firefox-devedition"; + icon = "firefox-devedition"; + }; firefox-mobile = callPackage ../applications/networking/browsers/firefox/mobile-config.nix { };