python311Packages.abjad: change --replace to --replace-fail

--replace now deprecated, changing to --replace-fail.
This commit is contained in:
Richard Davis
2024-07-10 11:49:26 -04:00
parent 5df8b10a19
commit 0cbf75c84e
@@ -36,12 +36,12 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace abjad/io.py \
--replace 'lilypond_path = self.get_lilypond_path()' \
--replace-fail 'lilypond_path = self.get_lilypond_path()' \
'lilypond_path = "${lilypond}/bin/lilypond"'
# general invocations of binary for IO purposes
substituteInPlace abjad/configuration.py \
--replace '["lilypond"' '["${lilypond}/bin/lilypond"'
--replace-fail '["lilypond"' '["${lilypond}/bin/lilypond"'
# get_lilypond_version_string
'';