Merge pull request #286391 from SuperSandro2000/xdg-open-flatpak

xdg-utils: wrap with gdbus which is required for the `xdg.portal.xdgO…

authored by K900 and committed by GitHub 9b62c850 42e44c05

+3 -5
+3 -5
pkgs/tools/X11/xdg-utils/default.nix
··· 2 2 # docs deps 3 3 , libxslt, docbook_xml_dtd_412, docbook_xml_dtd_43, docbook_xsl, xmlto 4 4 # runtime deps 5 - , resholve, bash, coreutils, dbus, file, gawk, gnugrep, gnused, jq, lockfileProgs, nettools, procmail, procps, xdg-user-dirs 5 + , resholve, bash, coreutils, dbus, file, gawk, glib, gnugrep, gnused, jq, lockfileProgs, nettools, procmail, procps, xdg-user-dirs 6 6 , perl, perlPackages 7 7 , mimiSupport ? false 8 8 , withXdgOpenUsePortalPatch ? true }: ··· 61 61 { 62 62 scripts = [ "bin/xdg-email" ]; 63 63 interpreter = "${bash}/bin/bash"; 64 - inputs = commonDeps ++ [ gawk "${placeholder "out"}/bin" ]; 64 + inputs = commonDeps ++ [ gawk glib.bin "${placeholder "out"}/bin" ]; 65 65 execer = [ 66 66 "cannot:${placeholder "out"}/bin/xdg-mime" 67 67 "cannot:${placeholder "out"}/bin/xdg-open" ··· 71 71 fake.external = commonFakes ++ [ 72 72 "exo-open" # XFCE 73 73 "gconftool-2" # GNOME 74 - "gdbus" # Flatpak (calls xdg-portal) 75 74 "gio" # GNOME (new) 76 75 "gnome-open" # GNOME (very old) 77 76 "gvfs-open" # GNOME (old) ··· 127 126 { 128 127 scripts = [ "bin/xdg-open" ]; 129 128 interpreter = "${bash}/bin/bash"; 130 - inputs = commonDeps ++ [ nettools "${placeholder "out"}/bin" ]; 129 + inputs = commonDeps ++ [ nettools glib.bin "${placeholder "out"}/bin" ]; 131 130 execer = [ 132 131 "cannot:${placeholder "out"}/bin/xdg-mime" 133 132 ]; ··· 138 137 "dde-open" # Deepin 139 138 "enlightenment_open" # Enlightenment 140 139 "exo-open" # XFCE 141 - "gdbus" # Flatpak (calls xdg-portal) 142 140 "gio" # GNOME (new) 143 141 "gnome-open" # GNOME (very old) 144 142 "gvfs-open" # GNOME (old)