[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building from a local source code checkout
From: |
Ludovic Courtès |
Subject: |
Re: Building from a local source code checkout |
Date: |
Tue, 19 Dec 2017 18:15:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
Konrad Hinsen <address@hidden> 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’.
- Building from a local source code checkout, Konrad Hinsen, 2017/12/19
- Re: Building from a local source code checkout,
Ludovic Courtès <=
- Re: Building from a local source code checkout, Konrad Hinsen, 2017/12/20
- Re: Building from a local source code checkout, Konrad Hinsen, 2017/12/20
- Re: Building from a local source code checkout, Carlo Zancanaro, 2017/12/20
- Re: Building from a local source code checkout, Konrad Hinsen, 2017/12/21
- Re: Building from a local source code checkout, Pjotr Prins, 2017/12/21
- Re: Building from a local source code checkout, Martin Castillo, 2017/12/21
- Re: Building from a local source code checkout, Ludovic Courtès, 2017/12/21
- Re: Building from a local source code checkout, Martin Castillo, 2017/12/21
- Re: Building from a local source code checkout, Ludovic Courtès, 2017/12/22
- Re: Building from a local source code checkout, Konrad Hinsen, 2017/12/21