Merge pull request #289538 from Aleksanaa/headlines

headlines: use wrapGAppsHook4
This commit is contained in:
Weijia Wang
2024-02-18 08:22:09 +01:00
committed by GitHub
@@ -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; {