diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2025-03-23 14:02:24 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:19 +0200 |
| commit | 7628b065f0bcb4169fd362c8dac3bc85fed4927f (patch) | |
| tree | 79f37db082fa0cf8aad58e6b94335815dca1ec53 /gnu/packages | |
| parent | 589a74c25a1ca494902bf09e923f65ef696d86ea (diff) | |
gnu: guitarix: Make compatible with Python 3.11.
* gnu/packages/audio.scm (guitarix)[arguments]: Add phase
'python3.11-compatibility.
Change-Id: I09d5517f0d2cbe0b4b888f812cc8109f6a5f1f08
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/audio.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index b47e044c6a9..5756b1c7d15 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2672,7 +2672,13 @@ partial release of the General MIDI sound set.") #:configure-flags #~(list ;; Add the output lib directory to the RUNPATH. - (string-append "--ldflags=-Wl,-rpath=" #$output "/lib")))) + (string-append "--ldflags=-Wl,-rpath=" #$output "/lib")) + #:phases + '(modify-phases %standard-phases + (add-after 'unpack 'python3.11-compatibility + (lambda _ + (substitute* "wscript" + (("'rU'") "'r'"))))))) (inputs (list libsndfile boost |
