[Nix-dev] Installing in $HOME and datadir

Pjotr Prins pjotr.public12 at thebird.nl
Sat Mar 22 14:55:02 CET 2014


Hi,

What is the best way to configure the data dir for couchdb and 4store?
I have configured nix to use a $HOME dir for the store and I am
building packages in $HOME with a checked out git repo:

  nix-env -f nixpkgs\ -i couchdb

I also noticed 4store has a hard coded

  stateDir = "/var/lib/4store"

in nixpkgs/nixos/modules/services/databases/4store.nix. So that
probably won't work in my setup. Right? How should that Nix expression
be changed for a more flexible approach.

Pj.


More information about the nix-dev mailing list