-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
chroot builds should have a (fake) domain name #40
Comments
Actually having no domain name set is completely normal and is the kernel default. For instance, on my system:
I don't think NixOS sets the domain name anywhere. Isn't the Git failure caused by the absence of /etc/resolv.conf? |
I'm not sure. The e-mail address Git ends up constructing is something along the lines of |
Builds that run in a chroot environment have a fake hostname, but they don't have a fake domain name (say, example.org). This causes failures in tools like Git, that try to guess some kind of e-mail address of the local user.
The text was updated successfully, but these errors were encountered: