gnome-maps: fix .desktop file so it can actually launch
This commit is contained in:
@@ -13,7 +13,13 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
sane.programs."gnome.gnome-maps" = {
|
||||
packageUnwrapped = pkgs.rmDbusServices pkgs.gnome.gnome-maps;
|
||||
packageUnwrapped = pkgs.rmDbusServicesInPlace (pkgs.gnome.gnome-maps.overrideAttrs (base: {
|
||||
# default .desktop file is trying to do some dbus launch (?) which fails even *if* i install `gapplication` (glib.bin)
|
||||
postPatch = (base.postPatch or "") + ''
|
||||
substituteInPlace data/org.gnome.Maps.desktop.in.in \
|
||||
--replace-fail 'Exec=gapplication launch @app-id@ %U' 'Exec=gnome-maps %U'
|
||||
'';
|
||||
}));
|
||||
suggestedPrograms = [
|
||||
"geoclue2"
|
||||
];
|
||||
|
Reference in New Issue
Block a user