On Thu, 5 Mar 2020, Jack Hill wrote:

What error have I made?

Thanks to Tobias Geerinckx-Rice on IRC, it looks like I forgot additional record changes as well. Even though Tobias was not able to reproduce my exact problem, making the following additional changes fixed it for me:


```
diff --git a/gnu/services/certbot.scm b/gnu/services/certbot.scm
index 3e71026387..f2cc00e97f 100644
--- a/gnu/services/certbot.scm
+++ b/gnu/services/certbot.scm
@@ -146,7 +146,7 @@
          (message (format #f (G_ "~a may need to be run~%") script)))
     (match config
       (($ <certbot-configuration> package webroot certificates email
-                                  rsa-key-size default-location)
+                                  server rsa-key-size default-location)
        (with-imported-modules '((guix build utils))
          #~(begin
              (use-modules (guix build utils))
@@ -158,7 +158,7 @@
 (define certbot-nginx-server-configurations
   (match-lambda
     (($ <certbot-configuration> package webroot certificates email
-                                rsa-key-size default-location)
+                                server rsa-key-size default-location)
      (list
       (nginx-server-configuration
```

I will clean up these changes and submit a proper patch to improve our certbot service.

Best,
Jack

Reply via email to