vorta: add borgbackup to $PATH

This commit is contained in:
Robert Schütz 2021-05-07 13:22:55 +02:00
parent 26cb44f97d
commit 226cbcbaf7

View File

@ -2,6 +2,7 @@
, python3
, fetchFromGitHub
, wrapQtAppsHook
, borgbackup
}:
python3.pkgs.buildPythonApplication rec {
@ -30,7 +31,10 @@ python3.pkgs.buildPythonApplication rec {
doCheck = false;
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
makeWrapperArgs+=(
"''${qtWrapperArgs[@]}"
--prefix PATH : ${lib.makeBinPath [ borgbackup ]}
)
'';
meta = with lib; {