Merge pull request #113898 from ck3d/ck3d-fix-bup-par2
bup: Fix par2 path patching
This commit is contained in:
commit
9279d307f3
|
@ -31,9 +31,8 @@ stdenv.mkDerivation {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
substituteInPlace Makefile --replace "-Werror" ""
|
substituteInPlace Makefile --replace "-Werror" ""
|
||||||
substituteInPlace Makefile --replace "./format-subst.pl" "${perl}/bin/perl ./format-subst.pl"
|
|
||||||
'' + optionalString par2Support ''
|
'' + optionalString par2Support ''
|
||||||
substituteInPlace cmd/fsck-cmd.py --replace "['par2'" "['${par2cmdline}/bin/par2'"
|
substituteInPlace cmd/fsck-cmd.py --replace "'par2'" "'${par2cmdline}/bin/par2'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontAddPrefix = true;
|
dontAddPrefix = true;
|
||||||
|
|
Loading…
Reference in New Issue