mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05: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:
parent
aacaa222d1
commit
f87b987248
1 changed files with 5 additions and 0 deletions
|
@ -104,6 +104,11 @@ (define certdata2pem
|
|||
(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"
|
||||
|
|
Loading…
Reference in a new issue