-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unable to install Nix #5468
Comments
There's likely something unexpected about your environment, but it may take a few rounds of picking at it...
|
Thanks for getting back to me!
|
It may be easier to iterate on this in real-time, if you can join the macOS room on the NixOS Matrix. In either case, running the command that fails directly may help clarify what's going on (ideally in bash): /usr/bin/sudo /usr/bin/ex /etc/synthetic.conf <<EOF
:a
nix
.
:x
EOF |
Thanks, I've joined the room. It seems that that is not where the failure lies as I can run that command and it executes fine. |
After quite the slog today, we finally shook the problem loose: Something in the vim startup/plugin files on this system causes /usr/bin/ex (which the installer uses to edit a few files) to quietly exit with an error code, despite successfully editing the file. The error code halts the installer, but the correctly-edited file sends us off on a goose-chase for problems between this line and the next printing statement. I'll address in a PR soon. |
I had exactly the same problem. |
I have the same problem, have a clean vim configuration and temporally rename ~/.vim/plugin to anything helps in my situation. |
I also ran into this, and I got around it by temporarily renaming my ~/.vim directory. |
Describe the bug
Unable to install Nix on MacOS Catalina
Terminal Output
---- sudo execution ------------------------------------------------------------
I am executing:
to add Nix to /etc/synthetic.conf
---- 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.
:(
What should my next step be? Thanks!!
The text was updated successfully, but these errors were encountered: