Hello,

Konrad Hinsen <konrad.hin...@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’.

Reply via email to