Merge pull request #122018 from dotlambda/vorta-PATH

vorta: add borgbackup to $PATH
This commit is contained in:
Maximilian Bosch 2021-05-07 22:15:39 +02:00 committed by GitHub
commit 3c83aecc60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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; {