diff --git a/pkgs/by-name/br/brave/make-brave.nix b/pkgs/by-name/br/brave/make-brave.nix index aecc20af7dc2..50bd224484ef 100644 --- a/pkgs/by-name/br/brave/make-brave.nix +++ b/pkgs/by-name/br/brave/make-brave.nix @@ -217,7 +217,7 @@ stdenv.mkDerivation { done # Fix paths - substituteInPlace $out/share/applications/brave-browser.desktop \ + substituteInPlace $out/share/applications/{brave-browser,com.brave.Browser}.desktop \ --replace /usr/bin/brave-browser-stable $out/bin/brave substituteInPlace $out/share/gnome-control-center/default-apps/brave-browser.xml \ --replace /opt/brave.com $out/opt/brave.com