Commit 757e8d96 authored by aleksana's avatar aleksana
Browse files

headlines: use wrapGAppsHook4

parent 5c31c4a2
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
, gtkmm4
, libsecret
, fetchFromGitLab
, makeWrapper
, wrapGAppsHook4
, xdg-utils
, youtube-dl
, ffmpeg
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
  nativeBuildInputs = [
    cmake
    pkg-config
    makeWrapper
    wrapGAppsHook4
  ];

  buildInputs = [
@@ -56,10 +56,10 @@ stdenv.mkDerivation rec {
    gst-plugins-bad
  ]);

  postFixup = ''
    wrapProgram "$out/bin/headlines" \
      --prefix PATH : "${lib.makeBinPath [ xdg-utils youtube-dl ffmpeg ]}" \
      --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
  preFixup = ''
    gappsWrapperArgs+=(
      --prefix PATH : "${lib.makeBinPath [ xdg-utils youtube-dl ffmpeg ]}"
    )
  '';

  meta = with lib; {