From d1238f3546b55cda310d74eeacb239c8c7c8b78e Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Tue, 6 Feb 2024 13:08:09 +0800 Subject: [PATCH] phosh-mobile-settings: Drop desktop entry tweaks The app launcher will appear under Phosh without these changes. --- .../window-managers/phosh/phosh-mobile-settings.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix b/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix index e37f4c767e2b..3d0517386d69 100644 --- a/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix +++ b/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix @@ -57,12 +57,6 @@ stdenv.mkDerivation rec { postInstall = '' # this is optional, but without it phosh-mobile-settings won't know about lock screen plugins ln -s '${phosh}/lib/phosh' "$out/lib/phosh" - - # .desktop files marked `OnlyShowIn=Phosh;` aren't displayed even in our phosh, so remove that. - # also make the Exec path absolute. - substituteInPlace "$out/share/applications/mobi.phosh.MobileSettings.desktop" \ - --replace 'OnlyShowIn=Phosh;' "" \ - --replace 'Exec=phosh-mobile-settings' "Exec=$out/bin/phosh-mobile-settings" ''; passthru.updateScript = directoryListingUpdater { };