mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-07-13 18:44:06 +02:00
gnu: python-hdlconvertor: Fix build with Python 3.12+.
* gnu/packages/electronics.scm (python-hdlconvertor): Fix Python 3.12+ build. [arguments]<#:phases>: Replace hardcoded python3.11 path. Relates-to: guix/guix!8784 Change-Id: I5f70c48e3e705b4f26d849de81de16aae395696c Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
495a81ada8
commit
22e20111f2
@@ -3436,8 +3436,12 @@ SystemVerilog, and SystemC, with conversion between languages and to JSON.")
|
||||
inputs "include/antlr4-runtime"))
|
||||
(antlr4cpp-lib (search-input-file
|
||||
inputs "lib/libantlr4-runtime.so"))
|
||||
(python-include (search-input-directory
|
||||
inputs "include/python3.11")))
|
||||
(python-include
|
||||
(search-input-directory
|
||||
inputs
|
||||
(string-append
|
||||
"include/python"
|
||||
#$(version-major+minor (package-version python))))))
|
||||
;; Patch CMake to use our paths directly.
|
||||
(substitute* "src/CMake_antlr4.txt"
|
||||
(("set\\(ANTLR_CLASSPATH \"\"\\)")
|
||||
|
||||
Reference in New Issue
Block a user