gnu: le-certs: Use invoke.

* gnu/packages/certs.scm (le-certs)[arguments]: Use invoke in the builder.
This commit is contained in:
Mark H Weaver 2018-03-23 03:27:24 -04:00
parent dbf5b1186e
commit 4530e854f1
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516

View File

@ -170,10 +170,9 @@ taken from the NSS package and thus ultimately from the Mozilla project.")
;; Create hash symlinks suitable for OpenSSL ('SSL_CERT_DIR' and
;; similar.)
(chdir (string-append %output "/etc/ssl/certs"))
(unless (zero? (system* (string-append perl "/bin/perl")
(string-append openssl "/bin/c_rehash")
"."))
(error "'c_rehash' failed" openssl))))))
(invoke (string-append perl "/bin/perl")
(string-append openssl "/bin/c_rehash")
".")))))
(native-inputs
`(("openssl" ,openssl)
("perl" ,perl))) ;for 'c_rehash'