From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sree Harsha Totakura Subject: Re: Default store-dir Date: Sun, 20 Apr 2014 10:09:03 +0200 Message-ID: <5353809F.6020405@totakura.in> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbmoO-00033x-2z for guix-devel@gnu.org; Sun, 20 Apr 2014 04:09:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbmoG-0006Df-J5 for guix-devel@gnu.org; Sun, 20 Apr 2014 04:09:16 -0400 Received: from mail-out1.informatik.tu-muenchen.de ([131.159.0.8]:48187 helo=smtp1.informatik.tu-muenchen.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbmoG-0006D5-Ce for guix-devel@gnu.org; Sun, 20 Apr 2014 04:09:08 -0400 Received: (Authenticated sender: totakura) by mail.in.tum.de (Postfix) with ESMTPSA id 333BD240270 for ; Sun, 20 Apr 2014 10:09:03 +0200 (CEST) In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org 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=/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