mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 07:37:54 +00:00
Merge pull request #311252 from davisrichard437/abjad
python311Packages.abjad: fix build
This commit is contained in:
commit
78b24c4c70
@ -8,6 +8,7 @@
|
||||
pythonOlder,
|
||||
pytestCheckHook,
|
||||
lilypond,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -26,6 +27,7 @@ buildPythonPackage rec {
|
||||
ply
|
||||
roman
|
||||
uqbar
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
buildInputs = [ lilypond ];
|
||||
@ -34,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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user