3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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'