mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
phosh-mobile-settings: Drop desktop entry tweaks
The app launcher will appear under Phosh without these changes.
This commit is contained in:
parent
8513f69b24
commit
d1238f3546
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user