Skip to content

Commit

Permalink
newsflash: fix adding xdg-open to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
kira-bruneau committed Aug 16, 2022
1 parent 6c6409e commit cd7ccff
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkgs/applications/networking/feedreaders/newsflash/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
, webkitgtk
, glib-networking
, librsvg
, xdg-utils
, gst_all_1
, xdg-utils
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -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
Expand All @@ -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";
Expand Down

0 comments on commit cd7ccff

Please sign in to comment.