mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-01 06:45:55 +02:00
gnu: certdata2pem: Produce pem files.
Create files with pem extension instead of crt.
* gnu/packages/certs.scm (certdata2pem)[arguments]<#:phases>{fix-extension}:
New phase.
This commit is contained in:
@@ -104,6 +104,11 @@ port forwarding to your local machine.")
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-before 'build 'fix-extension
|
||||
(lambda _
|
||||
(substitute* "certdata2pem.c"
|
||||
(("\\.crt")
|
||||
".pem"))))
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(invoke ,(cc-for-target) "certdata2pem.c"
|
||||
|
||||
Reference in New Issue
Block a user