bup: Fix par2 path patching

Because of Python 3 compatibility change in bup 0.30.1 the substitution fails.
This commit is contained in:
Christian Kögler 2021-02-21 14:06:05 +01:00
parent 037936b7a3
commit 442c078376

View File

@ -33,7 +33,7 @@ stdenv.mkDerivation {
substituteInPlace Makefile --replace "-Werror" ""
substituteInPlace Makefile --replace "./format-subst.pl" "${perl}/bin/perl ./format-subst.pl"
'' + optionalString par2Support ''
substituteInPlace cmd/fsck-cmd.py --replace "['par2'" "['${par2cmdline}/bin/par2'"
substituteInPlace cmd/fsck-cmd.py --replace "'par2'" "'${par2cmdline}/bin/par2'"
'';
dontAddPrefix = true;