James Cook wrote:
> On 5 April 2014 16:47, Ben Franksen <[email protected]> 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


_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to