guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/07: doc: Update nar decompression examples.


From: guix-commits
Subject: 04/07: doc: Update nar decompression examples.
Date: Fri, 17 Apr 2020 17:19:42 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit a37c59af625845b322463811f2e817f3871548ad
Author: mikadoZero <address@hidden>
AuthorDate: Fri Feb 22 18:24:20 2019 -0500

    doc: Update nar decompression examples.
    
    * doc/guix.texi (Invoking guix archive): Show /gzip URL.
    Add cross-reference to "Invoking guix challenge".
    (Invoking guix challenge): Show /lzip URL.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 doc/guix.texi | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 0fb81e4..e5f4d02 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4626,8 +4626,8 @@ served by @code{@value{SUBSTITUTE-SERVER}} to 
@file{/tmp/emacs}:
 
 @example
 $ wget -O - \
-  https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-emacs-24.5 \
-  | bunzip2 | guix archive -x /tmp/emacs
+  https://@value{SUBSTITUTE-SERVER}/nar/gzip/@dots{}-emacs-24.5 \
+  | gunzip | guix archive -x /tmp/emacs
 @end example
 
 Single-item archives are different from multiple-item archives produced
@@ -4637,7 +4637,8 @@ and they do @emph{not} embed a signature.  Thus this 
operation does
 unsafe.
 
 The primary purpose of this operation is to facilitate inspection of
-archive contents coming from possibly untrusted substitute servers.
+archive contents coming from possibly untrusted substitute servers
+(@pxref{Invoking guix challenge}).
 
 @item --list
 @itemx -t
@@ -10573,8 +10574,8 @@ Alternately, we can do something along these lines 
(@pxref{Invoking guix
 archive}):
 
 @example
-$ wget -q -O - https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-git-2.5.0 \
-   | guix archive -x /tmp/git
+$ wget -q -O - https://@value{SUBSTITUTE-SERVER}/nar/lzip/@dots{}-git-2.5.0 \
+   | lzip -d | guix archive -x /tmp/git
 $ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git
 @end example
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]