From 757e8d96eea65cc1c6a25f06b1ed21195071ca3e Mon Sep 17 00:00:00 2001 From: aleksana Date: Sat, 17 Feb 2024 21:58:30 +0800 Subject: [PATCH] headlines: use wrapGAppsHook4 --- pkgs/applications/networking/headlines/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/networking/headlines/default.nix b/pkgs/applications/networking/headlines/default.nix index 8db698e963bc4..a4e5a8e684c63 100644 --- a/pkgs/applications/networking/headlines/default.nix +++ b/pkgs/applications/networking/headlines/default.nix @@ -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; {