Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix-channel --update pulls irrelevant substituter? #7400

Open
peterbecich opened this issue Dec 4, 2022 · 0 comments
Open

nix-channel --update pulls irrelevant substituter? #7400

peterbecich opened this issue Dec 4, 2022 · 0 comments
Labels

Comments

@peterbecich
Copy link
Contributor

Describe the bug

My ~/.nix-channels are:

https://nixos.org/channels/nixos-22.11 stable

My /etc/nix/nix.conf includes:

trusted-substituters = https://cache.nixos.org https://hydra.iohk.io 
substituters = https://cache.nixos.org https://hydra.iohk.io 
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=

There is currently an issue with the IOHK substituter.

nix-channel --update stable yields:

unpacking channels...
warning: error: unable to download 'https://hydra.iohk.io/4lya937qxakkxq07lwj2sxgs6j2g43j6.narinfo': 
  Timeout was reached (28); retrying in 327 ms

The issue is solved by removing the IOHK substituter and restarting the Nix daemon.

Expected behavior

Can nix-channel --update ignore the failing substituter?

Is it necessary for nix-channel --update to use all substituters?

Additional context

@peterbecich peterbecich added the bug label Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant