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

Installer script isn't entirely idempotent #12156

Open
3 of 5 tasks
colinta opened this issue Jan 8, 2025 · 0 comments
Open
3 of 5 tasks

Installer script isn't entirely idempotent #12156

colinta opened this issue Jan 8, 2025 · 0 comments

Comments

@colinta
Copy link

colinta commented Jan 8, 2025

Platform

  • Linux:
  • macOS
  • WSL

Additional information

I had installed nix long ago, but nix-build wasn't in my path so I assume it was removed or similar, so I ran the install script again.

I was surprised that the install script wasn't more idempotent – it wanted to recreate the _nixbld\d+ users, which caused errors. I was less upset about having to remove and rewrite the /etc/* files (fstab, etc), but there, too, it would be better if it noticed that these were already "as intended" by nix.

Checklist


Add 👍 to issues you find important.

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

1 participant