Re: [Nix-dev] A Question About Nix Local Storage Path

2015-11-07 Thread Domen Kožar
Also see https://nixos.org/wiki/How_to_install_nix_in_home_%28on_another_distribution%29 On Sat, Nov 7, 2015 at 11:13 AM, Rok Garbas wrote: > hi martin, > > this works for me to build everything under different nix prefix, eg. > /opt/foo > > > NIX_PREFIX=/opt/foo \ >

Re: [Nix-dev] A Question About Nix Local Storage Path

2015-11-07 Thread Rok Garbas
hi martin, this works for me to build everything under different nix prefix, eg. /opt/foo NIX_PREFIX=/opt/foo \ NIX_STORE_DIR=$NIX_PREFIX/store \ NIX_STATE_DIR=$NIX_PREFIX/var/nix \ NIX_DB_DIR=$NIX_PREFIX/var/nix/db \ nix-build release.nix still you need to know in advance

[Nix-dev] A Question About Nix Local Storage Path

2015-11-06 Thread Martin Vahi
Dear , It seems to me that the version 1.10 of Nix package manager does not allow the local repository of packages to be anywhere else than the /nix/ The configure script parameter --with-store-dir did not have any effect on the /etc/profile.d/nix.sh The question is, is it a