[Nix-dev] Re: the trunk doesn't respect --prefix

Yury G. Kudryashov urkud+nix at ya.ru
Mon Jun 14 12:13:27 CEST 2010


Alexy Khrabrov wrote:

> I've checked out nix from svn, did bootstrap.sh and configure
> --prefix=/opt/nix
You need something like --with-store as well (see configure --help).
> 
> First of all, it failed to build doc as I didn't have the /docbook dirs; I
> didn't want doc and deleted doc from the SUBDIRS.  Then nix-channel
> --update failed as it wanted to create /nix, not /opt/nix, anyways.  I
> manually changed "/nix..." in it to "/opt/nix...", but that was not
> enough.  When I created /nix just to satisfy it, it put a log and var in
> it.  nix-env -i ghc then proceeded to build everything and failed very
> quickly...
> 
> Should I stick with a tarball?
> Thanks,
> Alexy





More information about the nix-dev mailing list