[Nix-dev] strange nix error

Ben Franksen ben.franksen at online.de
Sun Apr 6 01:11:40 CEST 2014


James Cook wrote:
> On 5 April 2014 16:47, Ben Franksen <ben.franksen at online.de> wrote:
>> I have installed nix under ubuntu, using the ubuntu deb package. Then I
>> followed the instructions in the nix manual for multi-user installs, i.e.
>> created build users & groups and added a nix.conf:
>> [...]
>> Then I do nix-env -i <somepackage> and get
>>
>> error: setting synchronous mode: unable to open database file
> 
> I had a similar problem, and fixed it by setting the environment
> variable NIX_REMOTE to "daemon" as suggested in the user's guide.

That was it. Thanks!

I had set the variable but only in my .zshenv and forgot to restart the 
shell. Stupid me.

Cheers
Ben
-- 
"Make it so they have to reboot after every typo." -- Scott Adams




More information about the nix-dev mailing list