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:
parent
76a9bad380
commit
d65bd74411
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue