diff mbox series

[bug#66718,v3,2/6] gnu: mbedtls-for-hiawatha: Update package style.

Message ID e3e7e42d468722792aee6f0537d38ba284705a1f.1706445676.git.hako@ultrarare.space
State New
Headers show
Series gnu: Add mbedtls, version 3.5.2. | expand

Commit Message

Hilton Chain Jan. 28, 2024, 1:12 p.m. UTC
* gnu/packages/tls.scm (mbedtls-for-hiawatha)[arguments]: Use gexps.
Remove trailing #t.

Change-Id: I0af54b6fb7319bc811ce38c001b47686fb45b1bd
---
 gnu/packages/tls.scm | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 4fbb35cc58..d2bedd3d2b 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -1017,14 +1017,13 @@  (define-public mbedtls-for-hiawatha
      (arguments
       (substitute-keyword-arguments (package-arguments mbedtls-apache)
         ((#:phases phases)
-         `(modify-phases ,phases
-            (add-before 'configure 'configure-extra-features
-              (lambda _
-                (for-each (lambda (feature)
-                            (invoke "scripts/config.pl" "set" feature))
-                          (list "MBEDTLS_THREADING_C"
-                                "MBEDTLS_THREADING_PTHREAD"))
-                #t)))))))))
+         #~(modify-phases #$phases
+             (add-before 'configure 'configure-extra-features
+               (lambda _
+                 (for-each (lambda (feature)
+                             (invoke "scripts/config.pl" "set" feature))
+                           (list "MBEDTLS_THREADING_C"
+                                 "MBEDTLS_THREADING_PTHREAD")))))))))))
 
 (define-public dehydrated
   (package