From 0cbf75c84e488ef1a5ce7d1068a6d6f13a4beba0 Mon Sep 17 00:00:00 2001 From: Richard Davis Date: Sun, 12 May 2024 23:24:16 -0400 Subject: [PATCH] python311Packages.abjad: change --replace to --replace-fail --replace now deprecated, changing to --replace-fail. --- pkgs/development/python-modules/abjad/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/abjad/default.nix b/pkgs/development/python-modules/abjad/default.nix index 800fcd5182fc..b0998b8c0693 100644 --- a/pkgs/development/python-modules/abjad/default.nix +++ b/pkgs/development/python-modules/abjad/default.nix @@ -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 '';