guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 8fe9821ef00c611e547ecb0877562347d76ef718
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Sep 13 16:59:05 2025 +0200

    gnu: onnxruntime: Extend with (pyproject-guile-json).
    
    * gnu/packages/machine-learning.scm (onnxruntime)[arguments]
    <#:phases>: Extend with (pyproject-guile-json).
    
    Change-Id: Ib498a4697642d59784cf699230478ba23fb41ff6
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/machine-learning.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 13890adfb3..c77d28d247 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1809,6 +1809,7 @@ with a single function call.")
               ;; XXX: Fixes build with gcc@14.
               "-DCMAKE_CXX_FLAGS=-Wl,-z,noexecstack")
       #:phases
+      (with-extensions (list (pyproject-guile-json))
       #~(modify-phases %standard-phases
           (add-after 'unpack 'chdir
             (lambda _
@@ -1865,7 +1866,7 @@ with a single function call.")
               ((assoc-ref py:%standard-phases 'sanity-check)
                #:inputs `(("sanity-check.py" . ,#$(default-sanity-check.py))
                           ,@inputs)
-               #:outputs `(("out" . ,#$output:python))))))))
+               #:outputs `(("out" . ,#$output:python)))))))))
     (outputs (list "out" "python"))
     (inputs
      (list abseil-cpp

Reply via email to