From: Christopher Baines <mail@cbaines.net>
To: guix-devel@gnu.org
Subject: Re: Making local development easy
Date: Wed, 25 May 2016 18:04:24 +0200 [thread overview]
Message-ID: <5745CD08.6030209@cbaines.net> (raw)
In-Reply-To: <idjzire32qe.fsf@bimsb-sys02.mdc-berlin.net>
[-- Attachment #1.1: Type: text/plain, Size: 1010 bytes --]
On 25/05/16 11:29, Ricardo Wurmus wrote:
> Christopher Baines <mail@cbaines.net> 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.
I did try this, but it did not work. davexunit on IRC said that this was
due to the isolation in the build process. I was trying to reference
/tmp, where did you place the repository to make this work?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]
next prev parent reply other threads:[~2016-05-25 16:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-24 18:25 Making local development easy Christopher Baines
2016-05-25 8:23 ` Alex Sassmannshausen
2016-05-25 15:48 ` Christopher Baines
2016-05-25 16:13 ` Leo Famulari
2016-05-25 9:29 ` Ricardo Wurmus
2016-05-25 9:34 ` Alex Sassmannshausen
2016-05-25 16:04 ` Christopher Baines [this message]
2016-05-25 18:33 ` Ricardo Wurmus
2016-05-26 8:07 ` Ludovic Courtès
2016-05-26 12:05 ` Thompson, David
2016-06-21 8:43 ` Ludovic Courtès
2016-05-25 9:36 ` Andy Wingo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5745CD08.6030209@cbaines.net \
--to=mail@cbaines.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).