Skip to content

Commit

Permalink
xdg-utils: wrap with gdbus which is required for the `xdg.portal.xdgO…
Browse files Browse the repository at this point in the history
…penUsePortal` option
  • Loading branch information
SuperSandro2000 committed Feb 4, 2024
1 parent 259981b commit bc58c56
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pkgs/tools/X11/xdg-utils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# docs deps
, libxslt, docbook_xml_dtd_412, docbook_xml_dtd_43, docbook_xsl, xmlto
# runtime deps
, resholve, bash, coreutils, dbus, file, gawk, gnugrep, gnused, jq, lockfileProgs, nettools, procmail, procps, xdg-user-dirs
, resholve, bash, coreutils, dbus, file, gawk, glib, gnugrep, gnused, jq, lockfileProgs, nettools, procmail, procps, xdg-user-dirs
, perl, perlPackages
, mimiSupport ? false
, withXdgOpenUsePortalPatch ? true }:
Expand Down Expand Up @@ -61,7 +61,7 @@ let
{
scripts = [ "bin/xdg-email" ];
interpreter = "${bash}/bin/bash";
inputs = commonDeps ++ [ gawk "${placeholder "out"}/bin" ];
inputs = commonDeps ++ [ gawk glib.bin "${placeholder "out"}/bin" ];
execer = [
"cannot:${placeholder "out"}/bin/xdg-mime"
"cannot:${placeholder "out"}/bin/xdg-open"
Expand All @@ -71,7 +71,6 @@ let
fake.external = commonFakes ++ [
"exo-open" # XFCE
"gconftool-2" # GNOME
"gdbus" # Flatpak (calls xdg-portal)
"gio" # GNOME (new)
"gnome-open" # GNOME (very old)
"gvfs-open" # GNOME (old)
Expand Down Expand Up @@ -127,7 +126,7 @@ let
{
scripts = [ "bin/xdg-open" ];
interpreter = "${bash}/bin/bash";
inputs = commonDeps ++ [ nettools "${placeholder "out"}/bin" ];
inputs = commonDeps ++ [ nettools glib.bin "${placeholder "out"}/bin" ];
execer = [
"cannot:${placeholder "out"}/bin/xdg-mime"
];
Expand All @@ -138,7 +137,6 @@ let
"dde-open" # Deepin
"enlightenment_open" # Enlightenment
"exo-open" # XFCE
"gdbus" # Flatpak (calls xdg-portal)
"gio" # GNOME (new)
"gnome-open" # GNOME (very old)
"gvfs-open" # GNOME (old)
Expand Down

0 comments on commit bc58c56

Please sign in to comment.