mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
headlines: use wrapGAppsHook4
This commit is contained in:
parent
5c31c4a2b6
commit
757e8d96ee
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user