signal-desktop: Add xdg-utils/bin to PATH
Since: 1. clicking on links doesn't open tab/window in default browser (tested on Sway), 2. it's got a hard-coded $PATH reference to `xdg-open` somewhere in binary (see below). When `signal-desktop` is invoked in a terminal, the output below appears each time a link is clicked on in-app: ``` (...) LaunchProcess: failed to execvp: xdg-open ```
This commit is contained in:
parent
e556e61a55
commit
ccb1851610
@ -4,7 +4,7 @@
|
|||||||
, libXext, libXfixes, libXrender, libXtst, libXScrnSaver, nss, nspr, alsa-lib
|
, libXext, libXfixes, libXrender, libXtst, libXScrnSaver, nss, nspr, alsa-lib
|
||||||
, cups, expat, libuuid, at-spi2-core, libappindicator-gtk3, mesa
|
, cups, expat, libuuid, at-spi2-core, libappindicator-gtk3, mesa
|
||||||
# Runtime dependencies:
|
# Runtime dependencies:
|
||||||
, systemd, libnotify, libdbusmenu, libpulseaudio
|
, systemd, libnotify, libdbusmenu, libpulseaudio, xdg-utils
|
||||||
# Unfortunately this also overwrites the UI language (not just the spell
|
# Unfortunately this also overwrites the UI language (not just the spell
|
||||||
# checking language!):
|
# checking language!):
|
||||||
, hunspellDicts, spellcheckerLanguage ? null # E.g. "de_DE"
|
, hunspellDicts, spellcheckerLanguage ? null # E.g. "de_DE"
|
||||||
@ -84,6 +84,7 @@ in stdenv.mkDerivation rec {
|
|||||||
(lib.getLib systemd)
|
(lib.getLib systemd)
|
||||||
libnotify
|
libnotify
|
||||||
libdbusmenu
|
libdbusmenu
|
||||||
|
xdg-utils
|
||||||
];
|
];
|
||||||
|
|
||||||
unpackPhase = "dpkg-deb -x $src .";
|
unpackPhase = "dpkg-deb -x $src .";
|
||||||
@ -123,6 +124,7 @@ in stdenv.mkDerivation rec {
|
|||||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc ] }"
|
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc ] }"
|
||||||
${customLanguageWrapperArgs}
|
${customLanguageWrapperArgs}
|
||||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}"
|
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}"
|
||||||
|
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]}
|
||||||
)
|
)
|
||||||
|
|
||||||
# Fix the desktop link
|
# Fix the desktop link
|
||||||
|
Loading…
Reference in New Issue
Block a user