newsflash: fix adding xdg-open to PATH

This commit is contained in:
Kira Bruneau 2022-08-16 11:09:49 -04:00
parent 6c6409e965
commit cd7ccff1f3

View file

@ -15,8 +15,8 @@
, webkitgtk
, glib-networking
, librsvg
, xdg-utils
, gst_all_1
, xdg-utils
}:
stdenv.mkDerivation rec {
@ -78,9 +78,6 @@ stdenv.mkDerivation rec {
# SVG support for gdk-pixbuf
librsvg
# Open links in browser
xdg-utils
] ++ (with gst_all_1; [
# Audio & video support for webkitgtk WebView
gstreamer
@ -89,6 +86,13 @@ stdenv.mkDerivation rec {
gst-plugins-bad
]);
preFixup = ''
gappsWrapperArgs+=(--suffix PATH : "${lib.makeBinPath [
# Open links in browser
xdg-utils
]}")
'';
meta = with lib; {
description = "A modern feed reader designed for the GNOME desktop";
homepage = "https://gitlab.com/news-flash/news_flash_gtk";