gnu: openntpd: Get libressl version from the inputs.

* gnu/packages/ntp.scm (openntpd)[arguments]: Get libressl version from
the package inputs.
This commit is contained in:
Brice Waegeneire 2021-06-17 08:28:14 +02:00
parent 76a9bad380
commit d65bd74411
No known key found for this signature in database
GPG key ID: A94903A166A18FAE

View file

@ -190,7 +190,9 @@ (define-public openntpd
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(let* ((libressl (assoc-ref %build-inputs "libressl")) (let* ((libressl (assoc-ref %build-inputs "libressl"))
(libressl-version ,(package-version libressl))) (libressl-version ,(package-version
(car (assoc-ref (package-inputs this-package)
"libressl")))))
(list "--with-privsep-user=ntpd" (list "--with-privsep-user=ntpd"
"--localstatedir=/var" "--localstatedir=/var"
(string-append "--with-cacert=" libressl (string-append "--with-cacert=" libressl