guix-devel
[Top][All Lists]
Advanced

[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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]