diff options
author | aleksana <me@aleksana.moe> | 2024-02-17 21:58:30 +0800 |
---|---|---|
committer | aleksana <me@aleksana.moe> | 2024-02-17 22:01:07 +0800 |
commit | 757e8d96eea65cc1c6a25f06b1ed21195071ca3e (patch) | |
tree | 3865a4777bca39ff927d5ea55e81b72ada1eaa45 /pkgs/applications/networking/headlines/default.nix | |
parent | 5c31c4a2b64a191a95e0917c84ced8e19cc353f1 (diff) |
headlines: use wrapGAppsHook4
Diffstat (limited to 'pkgs/applications/networking/headlines/default.nix')
-rw-r--r-- | pkgs/applications/networking/headlines/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/applications/networking/headlines/default.nix b/pkgs/applications/networking/headlines/default.nix index 8db698e963bc..a4e5a8e684c6 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; { |