3
0
Fork 0
forked from mirrors/nixpkgs

borgbackup: fix ssh binary location

Otherwise, borg might be unable to find its location
This commit is contained in:
Florian Klink 2017-10-28 14:13:48 +02:00
parent 08e06e7d22
commit f3b311af44

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python3Packages, acl, lz4, openssl }:
{ stdenv, fetchurl, python3Packages, acl, lz4, openssl, openssh }:
python3Packages.buildPythonApplication rec {
name = "borgbackup-${version}";
@ -27,6 +27,10 @@ python3Packages.buildPythonApplication rec {
export BORG_LZ4_PREFIX="${lz4.dev}"
'';
makeWrapperArgs = [
''--prefix PATH ':' "${openssh}/bin"''
];
postInstall = ''
make -C docs singlehtml
mkdir -p $out/share/doc/borg