From 11c65425d8204e0112c85b537406e5b41775c96b Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Tue, 25 Nov 2025 22:47:20 +0800 Subject: [PATCH] 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 --- 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 feb9f523c76944046001035e5221c865ecd342dd..87260ca97e954306f55d8e5047df0ed6b211b165 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2024 Wilko Meyer ;;; Copyright © 2024, 2025 David Elsing ;;; Copyright © 2025 Hennadii Stepanov +;;; Copyright © 2025 Brendan Tildesley ;;; ;;; 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)))))