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

Set NIX_REMOTE to unix-socket path; fixes #2372 #2375

Closed
wants to merge 1 commit into from

Conversation

KaiHa
Copy link
Contributor

@KaiHa KaiHa commented Aug 26, 2018

The socket of the nix-daemon is located in @localstatedir@/nix/daemon-socket/socket. Therefore setting the environment variable NIX_REMOTE to this path, so that programs that need to communicate with nix-daemon know where to find the socket.

@LnL7
Copy link
Member

LnL7 commented Aug 26, 2018

Using a nix client in the store with a daemon that's not seems like asking for trouble. On nixos NIX_REMOTE isn't even set anymore because the client handles this nicely now.

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

2 participants