all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Default store-dir
@ 2014-04-18 20:42 Elric Erkose
  2014-04-20  8:09 ` Sree Harsha Totakura
  0 siblings, 1 reply; 2+ messages in thread
From: Elric Erkose @ 2014-04-18 20:42 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 407 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Default store-dir
  2014-04-18 20:42 Default store-dir Elric Erkose
@ 2014-04-20  8:09 ` Sree Harsha Totakura
  0 siblings, 0 replies; 2+ messages in thread
From: Sree Harsha Totakura @ 2014-04-20  8:09 UTC (permalink / raw)
  To: guix-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-20  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-18 20:42 Default store-dir Elric Erkose
2014-04-20  8:09 ` Sree Harsha Totakura

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.