From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Sassmannshausen Subject: Re: Making local development easy Date: Wed, 25 May 2016 11:34:33 +0200 Message-ID: <87fut6tr9y.fsf@gmail.com> References: <57449CA9.3040502@cbaines.net> Reply-To: alex.sassmannshausen@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5VD7-0003Vy-Vv for guix-devel@gnu.org; Wed, 25 May 2016 05:34:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5VD3-0005Hm-1S for guix-devel@gnu.org; Wed, 25 May 2016 05:34:40 -0400 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:34844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5VD2-0005H4-R0 for guix-devel@gnu.org; Wed, 25 May 2016 05:34:36 -0400 Received: by mail-wm0-x22e.google.com with SMTP id a136so115389438wme.0 for ; Wed, 25 May 2016 02:34:36 -0700 (PDT) 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" To: Ricardo Wurmus Cc: guix-devel@gnu.org Ricardo Wurmus writes: > Christopher Baines writes: > >> The second issue was getting the data to the store, as first I tried a >> relative path, but that did not work, and ended up having to expose the >> repository using a HTTP server, and access it over the loopback >> interface. This again is rather prohibitive to local development. To >> improve on this, could guix build do the insertion in to the store, such >> that relative paths would work? This would allow just writing a >> "guix.scm" file, which just uses (git-reference (url "./") (commit "HEAD")). > > Maybe I’m misunderstanding the problem, but do you know that you can use > “file://” URIs? I’m doing this for local copies of tarballs that I > don’t plan to distribute. OMG, awesome. Note to self: spend more time reading manuals. Alex