You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/root NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt /nix/store/hbhdjn5ik3byg642d1m11k3k3s0kn3py-nix-2.2.2/bin/nix-channel --update nixpkgs
to update the default channel in the default profile
warning: unable to download 'https://nixos.org/channels/nixpkgs-unstable': Couldn't connect to server (7); retrying in 319 ms
warning: unable to download 'https://nixos.org/channels/nixpkgs-unstable': Couldn't connect to server (7); retrying in 687 ms
warning: unable to download 'https://nixos.org/channels/nixpkgs-unstable': Couldn't connect to server (7); retrying in 1365 ms
warning: unable to download 'https://nixos.org/channels/nixpkgs-unstable': Couldn't connect to server (7); retrying in 2318 ms
error: unable to download 'https://nixos.org/channels/nixpkgs-unstable': Couldn't connect to server (7)
---- oh no! --------------------------------------------------------------------
Jeeze, something went wrong. If you can take all the output and open
an issue, we'd love to fix the problem so nobody else has this issue.
:(
We'd love to help if you need it.
If you can, open an issue at https://github.com/nixos/nix/issues
A workaround is to put this line into /etc/sudoers:
I think you need "sudo -E" in your install scripts. I get this error when following your multiuser procedure:
$ sh <(curl https://nixos.org/nix/install) --daemon
eventually gives this:
A workaround is to put this line into /etc/sudoers:
Some info about the system:
$ printenv | grep -i proxy
no_proxy=localhost,lanl.gov
https_proxy=http://proxyout.mydomain:8080
NO_PROXY=localhost,mydomain
HTTPS_PROXY=http://proxyout.mydomain:8080
HTTP_PROXY=http://proxyout.mydomain:8080
http_proxy=http://proxyout.mydomain:8080
$ uname -a
Linux rocketchat 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
The text was updated successfully, but these errors were encountered: