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

MacOS catalina failing initial installation of Nix script #10681

Open
1 of 3 tasks
wesbragagt opened this issue May 11, 2024 · 1 comment
Open
1 of 3 tasks

MacOS catalina failing initial installation of Nix script #10681

wesbragagt opened this issue May 11, 2024 · 1 comment

Comments

@wesbragagt
Copy link

wesbragagt commented May 11, 2024

Platform

  • Linux:
  • macOS
  • WSL

Additional information

I executed

  1. sh <(curl -L https://nixos.org/nix/install)
  2. Confirmed Y for all the prompts

Output

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo /usr/bin/ex -u NONE -n /etc/synthetic.conf

to add Nix to /etc/synthetic.conf


---- oh no! --------------------------------------------------------------------
error: failed to configure synthetic.conf

We'd love to help if you need it.

You can open an issue at
https://github.com/NixOS/nix/issues/new?labels=installer&template=installer.md

Or get in touch with the community: https://nixos.org/community


Priorities

Add 👍 to issues you find important.

@abathur
Copy link
Member

abathur commented May 11, 2024

I don't think we've had a report like this in a while, but this sounds a bit like an issue that can pop up if something in your vimrc/plugins causes vim to exit with an error.

Can you try running:

/usr/bin/ex -u NONE -n boofar <<EOF
:a
nix
.
:x
EOF
echo $?
/bin/rm boofar

(This will just try to create a file like the installer does, check the status, and then remove the file.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants