Skip to content

Commit

Permalink
Deploy docs from 732fca8
Browse files Browse the repository at this point in the history
taoky: nix-channels: add note about nix error msg
  • Loading branch information
web-flow authored Apr 1, 2024
1 parent 2e3c36e commit 770811a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions nix-channels.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,14 @@ <h3>替换 binary cache 为科大源<a class="headerlink" href="#binary-cache" t
<p class="admonition-title">备注</p>
<p>对于所有 NixOS 19.09 及之后的版本和 nix-darwin, <code class="docutils literal notranslate"><span class="pre">&quot;https://cache.nixos.org/&quot;</span></code> 会被自动添加到配置中。</p>
</div>
<div class="admonition note">
<p class="admonition-title">备注</p>
<p>由于目前的动态缓存设计不会关联 <code class="docutils literal notranslate"><span class="pre">narinfo</span></code><code class="docutils literal notranslate"><span class="pre">nar.xz</span></code> 文件,下载新文件时可能会出现类似如下的错误:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">error</span><span class="p">:</span> <span class="n">file</span> <span class="s1">&#39;nar/1q9n0kjn2m11z49j1bcif6d2i63h4lz964w6apkxb4mkam6phni3.nar.xz&#39;</span> <span class="n">does</span> <span class="ow">not</span> <span class="n">exist</span> <span class="ow">in</span> <span class="n">binary</span> <span class="n">cache</span> <span class="s1">&#39;https://mirrors.ustc.edu.cn/nix-channels/store&#39;</span>
</pre></div>
</div>
<p>忽略即可,Nix 会自动回退。也可以在以上配置中按顺序添加其他的 binary cache 站点作为备选。</p>
</div>
</section>
<section id="id4">
<h3>临时使用<a class="headerlink" href="#id4" title="此标题的永久链接"></a></h3>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 770811a

Please sign in to comment.