gabutdm: add aria2 to wrapper path

This commit is contained in:
aleksana 2024-03-24 23:28:40 +08:00
parent 92bed13998
commit 4cd214edde

View file

@ -15,6 +15,7 @@
, json-glib , json-glib
, qrencode , qrencode
, curl , curl
, aria2
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -53,6 +54,12 @@ stdenv.mkDerivation rec {
--replace gtk-update-icon-cache gtk4-update-icon-cache --replace gtk-update-icon-cache gtk4-update-icon-cache
''; '';
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : ${lib.makeBinPath [ aria2 ]}
)
'';
meta = with lib; { meta = with lib; {
description = "Simple and fast download manager"; description = "Simple and fast download manager";
homepage = "https://github.com/gabutakut/gabutdm"; homepage = "https://github.com/gabutakut/gabutdm";