guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default store-dir


From: Sree Harsha Totakura
Subject: Re: Default store-dir
Date: Sun, 20 Apr 2014 10:09:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0

On 04/18/2014 10:42 PM, Elric Erkose wrote:
> When guix is configured with an alternate "prefix", why isn't "store-dir"
> relative to this alternate prefix? Yes, it is possible to specify something
> like, "--with-store-dir=<some-prefix>/gnu", but some people expect all
> files/directories to be relative to "--prefix" to isolate source based
> installed software from their base system.

Because, it enables Guix to download and use pre-built binaries
(substitutes).  This is a feature many wound want to have as compiling a
package can take a lot of time (especially when doing it for the first
time).  These binaries are built with their prefix directory set into
'/gnu/store/...' and they will be valid only if they are installed into
'/gnu/store/...' on your system.

The `--prefix' option will still let you install Guix into a directory
of your choice and still be able to download substitutes along as you
didn't configure with a different `--with-store-dir'.

Sree



reply via email to

[Prev in Thread] Current Thread [Next in Thread]