gnu: mbedtls-for-hiawatha: Update package style.

* gnu/packages/tls.scm (mbedtls-for-hiawatha)[arguments]: Use gexps.
Remove trailing #t.

Change-Id: I0af54b6fb7319bc811ce38c001b47686fb45b1bd
This commit is contained in:
Hilton Chain 2023-10-24 07:11:05 +08:00
parent 8dfaf461b4
commit a13a0e00ea
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -1017,14 +1017,13 @@ (define-public mbedtls-for-hiawatha
(arguments (arguments
(substitute-keyword-arguments (package-arguments mbedtls-apache) (substitute-keyword-arguments (package-arguments mbedtls-apache)
((#:phases phases) ((#:phases phases)
`(modify-phases ,phases #~(modify-phases #$phases
(add-before 'configure 'configure-extra-features (add-before 'configure 'configure-extra-features
(lambda _ (lambda _
(for-each (lambda (feature) (for-each (lambda (feature)
(invoke "scripts/config.pl" "set" feature)) (invoke "scripts/config.pl" "set" feature))
(list "MBEDTLS_THREADING_C" (list "MBEDTLS_THREADING_C"
"MBEDTLS_THREADING_PTHREAD")) "MBEDTLS_THREADING_PTHREAD")))))))))))
#t)))))))))
(define-public dehydrated (define-public dehydrated
(package (package