From 27c273ec89e86a673ae4e5ae7825df2f93584c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 18 Mar 2022 22:23:22 +0100 Subject: doc: cookbook: Update Tor onion service name. * doc/guix-cookbook.texi: New variable. (Getting substitutes from Tor): Use it. --- doc/guix-cookbook.texi | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc/guix-cookbook.texi') diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi index d2ce525998..d89ce66017 100644 --- a/doc/guix-cookbook.texi +++ b/doc/guix-cookbook.texi @@ -7,6 +7,9 @@ @settitle GNU Guix Cookbook @c %**end of header +@c Onion service for ci.guix.gnu.org. +@set SUBSTITUTE-TOR-URL https://4zwzi66wwdaalbhgnix55ea3ab4pvvw66ll2ow53kjub6se4q2bclcyd.onion + @copying Copyright @copyright{} 2019 Ricardo Wurmus@* Copyright @copyright{} 2019 Efraim Flashner@* @@ -2354,7 +2357,8 @@ follow: config => (guix-configuration (inherit config) ;; ci.guix.gnu.org's Onion service - (substitute-urls "https://bp7o7ckwlewr4slm.onion") + (substitute-urls + "@value{SUBSTITUTE-TOR-URL}") (http-proxy "http://localhost:9250"))))))) @end lisp @@ -2372,7 +2376,8 @@ want to get a substitute from the Tor tunnel run: @example sudo herd set-http-proxy guix-daemon http://localhost:9250 -guix build --substitute-urls=https://bp7o7ckwlewr4slm.onion … +guix build \ + --substitute-urls=@value{SUBSTITUTE-TOR-URL} @dots{} @end example @node Setting up NGINX with Lua -- cgit v1.2.3