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

install script: don't abort when "nix-channel --update" fails #2679

Merged
merged 1 commit into from May 1, 2019

Conversation

bjornfor
Copy link
Contributor

Instead, print a message about what happened and tell the user what can
be done (run "[sudo -i] nix-channel --update nixpkgs" again at a later
time). This change allows installing Nix when you're offline.

Since the multi-user installer is so verbose, I don't print the message
until the end.

Fixes issue #2650 ("installation without internet connection").

Instead, print a message about what happened and tell the user what can
be done (run "[sudo -i] nix-channel --update nixpkgs" again at a later
time). This change allows installing Nix when you're offline.

Since the multi-user installer is so verbose, the message isn't printed
until the end.

Fixes issue NixOS#2650 ("installation without internet connection").
@matthewbauer
Copy link
Member

This looks reasonable to me.

/cc @grahamc @edolstra

@edolstra edolstra merged commit 989cb37 into NixOS:master May 1, 2019
@bjornfor
Copy link
Contributor Author

bjornfor commented May 1, 2019

Thanks!

@bjornfor bjornfor deleted the offline-install branch May 1, 2019 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants