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

commit a90d868ae5174711e199fde902004b68d34b9945
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Mar 13 19:59:37 2025 +0000

    gnu: python-debug: Use G-Expressions.
    
    * gnu/packages/python.scm (python-debug): Use G-Expressions, fix build.
    
    Change-Id: I940ec4fddcea03a258659ca044b0dad4948c4ed5
---
 gnu/packages/python.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e2349f0424..ebc9712294 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1487,10 +1487,10 @@ data types.")
     (build-system gnu-build-system)
     (arguments
      (substitute-keyword-arguments (package-arguments python)
-       ((#:configure-flags flags '())
-        `(cons "--with-pydebug" ,flags))))
-    (synopsis
-     "Python with the debug hooks enabled")
+       ((#:configure-flags configure-flags)
+        #~(append #$configure-flags
+                  (list "--with-pydebug")))))
+    (synopsis "Python with the debug hooks enabled")
     (description
      "This variant of Python provides an interpreter built with
 @code{--with-pydebug} to help develop and debug extensions.  See

Reply via email to