From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Building from a local source code checkout Date: Tue, 19 Dec 2017 18:15:13 +0100 Message-ID: <87tvwm1vxa.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRLU7-0002j9-C1 for guix-devel@gnu.org; Tue, 19 Dec 2017 12:15:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRLU4-0005Em-8I for guix-devel@gnu.org; Tue, 19 Dec 2017 12:15:19 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:52552) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eRLU3-0005Br-Pu for guix-devel@gnu.org; Tue, 19 Dec 2017 12:15:16 -0500 In-Reply-To: (Konrad Hinsen's message of "Tue, 19 Dec 2017 12:34:46 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Konrad Hinsen Cc: guix-devel Hello, Konrad Hinsen 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 =E2=80=9Cguix build foo --with-source=3D./foo=E2= =80=9D (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 =E2=80=98local-file=E2= =80=99). Can you share what errors you got? HTH, Ludo=E2=80=99.