[Nix-dev] Installing in $HOME and datadir
Pjotr Prins
pjotr.public12 at thebird.nl
Sat Mar 22 20:43:08 CET 2014
Let me simplify the question: what is the best way to override the datadir to a
Nix expression? It is not clear from the documentation.
Pj.
On Sat, Mar 22, 2014 at 02:55:02PM +0100, Pjotr Prins wrote:
> 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.
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
More information about the nix-dev
mailing list