GNU bug report logs - #48912
[PATCH] hydra: bordeaux: Add a how to code snippet.

Previous Next

Package: guix-patches;

Reported by: Joshua Branson <jbranso <at> dismail.de>

Date: Tue, 8 Jun 2021 08:11:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48912 in the body.
You can then email your comments to 48912 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#48912; Package guix-patches. (Tue, 08 Jun 2021 08:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joshua Branson <jbranso <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 08 Jun 2021 08:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Joshua Branson <jbranso <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: mail <at> cbaines.net, Joshua Branson <jbranso <at> dismail.de>
Subject: [PATCH] hydra: bordeaux: Add a how to code snippet.
Date: Tue,  8 Jun 2021 04:10:02 -0400
* hydra/nginx/html/bordeaux/index.html: (Using These substitutes):
Fixed a typo, and added a how to code snippet for users of guix system.
---
 hydra/nginx/html/bordeaux/index.html | 42 +++++++++++++++++++++++++++-
 1 file changed, 41 insertions(+), 1 deletion(-)

diff --git a/hydra/nginx/html/bordeaux/index.html b/hydra/nginx/html/bordeaux/index.html
index a74f2e2..89042af 100644
--- a/hydra/nginx/html/bordeaux/index.html
+++ b/hydra/nginx/html/bordeaux/index.html
@@ -36,7 +36,7 @@
       <b>arm-linux-gnueabihf</b> availability is limited.
     </p>
 
-    <h2>Using these substiutes</h2>
+    <h2>Using these substitutes</h2>
     <p>
       The URL to use to fetch substitutes is <code>https://bordeaux.guix.gnu.org</code>,
       and they're signed with the following key.
@@ -47,5 +47,45 @@
   )
  )</pre>
     </p>
+    <p>
+        Users of Guix System can start using these substitutes with a
+        bit of scheme code that looks like:
+
+        <pre>
+(define %my-desktop-services
+  (modify-services
+      %desktop-services
+    (guix-service-type
+     config =>
+     (guix-configuration
+      (inherit config)
+      (substitute-urls
+       (append (list "https://bordeaux.guix.gnu.org/";)
+               %default-substitute-urls))
+      (authorized-keys
+       (append
+        (list
+         (plain-file
+                     "bordeaux.guix.gnu.org.signing.key"
+                     "
+(public-key
+ (ecc
+  (curve Ed25519)
+  (q #7D602902D3A2DBB83F8A0FB98602A754C5493B0B778C8D1DD4E0F41DE14DE34F#)
+  )
+ )"))
+        %default-authorized-guix-keys)))))))
+
+
+(operating-system
+    ...
+    (services (append (list (service dhcp-client-service-type)
+                            (service openssh-service-type
+                                     (openssh-configuration
+                                      (openssh openssh-sans-x)
+                                      (port-number 2222))))
+                      %my-desktop-services)))
+        </pre>
+    </p>
   </body>
 </html>
-- 
2.31.1





Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Tue, 08 Jun 2021 15:15:01 GMT) Full text and rfc822 format available.

Notification sent to Joshua Branson <jbranso <at> dismail.de>:
bug acknowledged by developer. (Tue, 08 Jun 2021 15:15:02 GMT) Full text and rfc822 format available.

Message #10 received at 48912-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Joshua Branson <jbranso <at> dismail.de>
Cc: 48912-done <at> debbugs.gnu.org
Subject: Re: [PATCH] hydra: bordeaux: Add a how to code snippet.
Date: Tue, 08 Jun 2021 16:14:53 +0100
[Message part 1 (text/plain, inline)]
Joshua Branson <jbranso <at> dismail.de> writes:

> * hydra/nginx/html/bordeaux/index.html: (Using These substitutes):
> Fixed a typo, and added a how to code snippet for users of guix system.

Thanks, I've gone ahead, merged and deployed this.

I did consider trying to add something like this myself, but I'm still
focused on getting this in as a default, which should make things even
easier for users.

Thanks again,

Chris
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 07 Jul 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.