From: ludo@gnu.org (Ludovic Courtès)
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Building from a local source code checkout
Date: Tue, 19 Dec 2017 18:15:13 +0100 [thread overview]
Message-ID: <87tvwm1vxa.fsf@gnu.org> (raw)
In-Reply-To: <ddc9de1c-1076-7e61-f9c0-343a70883374@fastmail.net> (Konrad Hinsen's message of "Tue, 19 Dec 2017 12:34:46 +0100")
Hello,
Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:
> For debugging package definitions, it would be really nice to be able
> to build a package from a checkout of the original project source
> code, rather than having to make a tarball for each modification of
> that source code. Is this possible somehow?
You should be able to use “guix build foo --with-source=./foo” (note
that the directory name must match the package name).
https://www.gnu.org/software/guix/manual/html_node/Package-Transformation-Options.html
> The manual suggests that a package source could be something else than
> an origin object, such as a local-file, but I cannot get even
> local-file to work.
It should work (you must import (guix gexp) to get ‘local-file’).
Can you share what errors you got?
HTH,
Ludo’.
next prev parent reply other threads:[~2017-12-19 17:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-19 11:34 Building from a local source code checkout Konrad Hinsen
2017-12-19 17:15 ` Ludovic Courtès [this message]
2017-12-20 8:52 ` Konrad Hinsen
2017-12-20 10:19 ` Konrad Hinsen
2017-12-20 12:41 ` Carlo Zancanaro
2017-12-21 6:38 ` Konrad Hinsen
2017-12-21 10:38 ` Pjotr Prins
2017-12-21 11:20 ` Martin Castillo
2017-12-21 14:38 ` Ludovic Courtès
2017-12-21 16:53 ` Martin Castillo
2017-12-22 9:29 ` Ludovic Courtès
2017-12-21 17:02 ` Konrad Hinsen
2017-12-22 23:07 ` Ludovic Courtès
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=87tvwm1vxa.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=konrad.hinsen@fastmail.net \
/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).