Merge pull request #113898 from ck3d/ck3d-fix-bup-par2

bup: Fix par2 path patching
This commit is contained in:
Lassulus
2021-03-07 11:54:27 +01:00
committed by GitHub

View File

@@ -31,9 +31,8 @@ stdenv.mkDerivation {
postPatch = ''
patchShebangs .
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;