headlines: use wrapGAppsHook4

This commit is contained in:
aleksana 2024-02-17 21:58:30 +08:00
parent 5c31c4a2b6
commit 757e8d96ee

View File

@ -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; {