gnu: nss-certs: Copy pem files.

* gnu/packages/certs.scm (nss-certs)[arguments]<#:phases>{install}: Copy pem
files instead of crt files.
This commit is contained in:
Mathieu Othacehe 2021-09-20 10:27:55 +00:00
parent f87b987248
commit 287a8c9048
No known key found for this signature in database
GPG Key ID: 8354763531769CA6

View File

@ -164,9 +164,9 @@ that was originally contributed to Debian.")
(call-with-output-file "blacklist.txt" (const #t))) (call-with-output-file "blacklist.txt" (const #t)))
;; Extract selected single certificates from blob. ;; Extract selected single certificates from blob.
(invoke "certdata2pem") (invoke "certdata2pem")
;; Copy .crt files into the output. ;; Copy .pem files into the output.
(for-each (cut install-file <> certsdir) (for-each (cut install-file <> certsdir)
(find-files "." ".*\\.crt$"))) (find-files "." ".*\\.pem$")))
(invoke "openssl" "rehash" certsdir))))))) (invoke "openssl" "rehash" certsdir)))))))
(synopsis "CA certificates from Mozilla") (synopsis "CA certificates from Mozilla")
(description (description