diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2021-09-20 10:26:30 +0000 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-09-21 07:41:07 +0000 |
commit | f87b9872484f58728000e651e29243b35c70c8ba (patch) | |
tree | 4edbeaca616dee683d2cac5f27e812ab57e2faf8 /gnu/packages/certs.scm | |
parent | aacaa222d1646a99343d8f59b2e87f34e27b75ae (diff) | |
download | guix-f87b9872484f58728000e651e29243b35c70c8ba.tar guix-f87b9872484f58728000e651e29243b35c70c8ba.tar.gz |
gnu: certdata2pem: Produce pem files.
Create files with pem extension instead of crt.
* gnu/packages/certs.scm (certdata2pem)[arguments]<#:phases>{fix-extension}:
New phase.
Diffstat (limited to 'gnu/packages/certs.scm')
-rw-r--r-- | gnu/packages/certs.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/certs.scm b/gnu/packages/certs.scm index 37e3fa6786..c9d8e7b76c 100644 --- a/gnu/packages/certs.scm +++ b/gnu/packages/certs.scm @@ -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" |