diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-03-22 14:00:06 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-03-22 14:05:59 +0100 |
commit | 4bb5e0aeb3b7f5396dff1fcd2b85b65af5e07038 (patch) | |
tree | ad9e934e9ef76951fbc0354f2afb160599b298ae /doc | |
parent | cdd7a7d2106d295ca10fc23a94b6e9d1c8b5a82a (diff) | |
download | guix-4bb5e0aeb3b7f5396dff1fcd2b85b65af5e07038.tar guix-4bb5e0aeb3b7f5396dff1fcd2b85b65af5e07038.tar.gz |
publish: Add '--nar-path'.
* guix/scripts/publish.scm (show-help, %options): Add '--nar-path'.
(%default-options): Add 'nar-path'.
(guix-publish): Honor it.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 6c4e1800c1..b57e219562 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -6523,6 +6523,14 @@ This allows the user's Guix to keep substitute information in cache for guarantee that the store items it provides will indeed remain available for as long as @var{ttl}. +@item --nar-path=@var{path} +Use @var{path} as the prefix for the URLs of ``nar'' files +(@pxref{Invoking guix archive, normalized archives}). + +By default, nars are served at a URL such as +@code{/nar/gzip/@dots{}-coreutils-8.25}. This option allows you to +change the @code{/nar} part to @var{path}. + @item --public-key=@var{file} @itemx --private-key=@var{file} Use the specific @var{file}s as the public/private key pair used to sign |