guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 11c65425d8204e0112c85b537406e5b41775c96b
Author: Brendan Tildesley <[email protected]>
AuthorDate: Tue Nov 25 22:47:20 2025 +0800

    gnu: python-rencode: Make tunable
    
    * gnu/packages/serialization.scm (python-rencode):
    Add gcc package and mark as tunable.
    
    Change-Id: I9696512c3cf8a69c2a7a16b9e5a90bd18c5dc569
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/serialization.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index feb9f523c7..87260ca97e 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -22,6 +22,7 @@
 ;;; Copyright © 2024 Wilko Meyer <[email protected]>
 ;;; Copyright © 2024, 2025 David Elsing <[email protected]>
 ;;; Copyright © 2025 Hennadii Stepanov <[email protected]>
+;;; Copyright © 2025 Brendan Tildesley <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1153,7 +1154,10 @@ interface description protocol and its associated 
command line tool")
                 (("^COMPILE_ARGS.*")
                  "COMPILE_ARGS: list[str] = []\n")))))))
     (native-inputs
-     (list python-cython
+     ;; XXX: Borrow the same hack to make --tune work from python-pyscf to fix
+     ;; guix build: error: failed to determine which compiler is used
+     (list (canonical-package gcc)
+           python-cython
            python-pytest
            python-poetry-core
            python-setuptools))
@@ -1166,5 +1170,6 @@ heterogeneous data structures with many small elements, 
r-encoding stake up
 significantly less space than b-encodings.  This version of rencode is a
 complete rewrite in Cython to attempt to increase the performance over the
 pure Python module.")
-    (license license:bsd-3)))
+    (license license:bsd-3)
+    (properties '((tunable? . #t)))))
 

Reply via email to