nix-channelコマンドを実行するときにバイナリキャッシュを無視する方法は?

nix-channelコマンドを実行するときにバイナリキャッシュを無視する方法は?

何度もバイナリキャッシュを設定しましたが、次192.168.0.6のエラーが発生しました。

sudo nix-channel --update
unpacking channels...
warning: unable to download 'http://192.168.0.6:8899/nix-cache-info': Couldn't connect to server (7); retrying in 305 ms
warning: unable to download 'http://192.168.0.6:8899/nix-cache-info': Couldn't connect to server (7); retrying in 693 ms
warning: unable to download 'http://192.168.0.6:8899/nix-cache-info': Couldn't connect to server (7); retrying in 1021 ms
warning: unable to download 'http://192.168.0.6:8899/nix-cache-info': Couldn't connect to server (7); retrying in 2429 ms
warning: unable to download 'http://192.168.0.6:8899/nix-cache-info': Couldn't connect to server (7)
^Cerror: interrupted by the user

どのように削除/無視できますか?


次の理由で構成を再構築することはできません。

オプションがあるようですnixos-rebuild switch --fallback --show-trace --option binary-caches https://cache.nixos.org/ forced (ここで見つけることができます)。https://github.com/NixOS/nix/issues/1990#issuecomment-377969731)

unstableただし、設定でチャネルを参照すると失敗します。

building Nix...
building the system configuration...
error: file 'unstable' was not found in the Nix search path (add it using $NIX_PATH or -I), at /etc/nixos/chris.nix:25:21
(use '--show-trace' to show detailed location information)

ベストアンサー1

おすすめ記事