Skip to content

Commit

Permalink
Merge pull request NixOS#289538 from Aleksanaa/headlines
Browse files Browse the repository at this point in the history
headlines: use wrapGAppsHook4
  • Loading branch information
wegank authored Feb 18, 2024
2 parents 3443013 + 757e8d9 commit f00fbbf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkgs/applications/networking/headlines/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
, gtkmm4
, libsecret
, fetchFromGitLab
, makeWrapper
, wrapGAppsHook4
, xdg-utils
, youtube-dl
, ffmpeg
Expand All @@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
pkg-config
makeWrapper
wrapGAppsHook4
];

buildInputs = [
Expand All @@ -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; {
Expand Down

0 comments on commit f00fbbf

Please sign in to comment.