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: Thu, 21 Dec 2017 15:38:46 +0100 Message-ID: <87zi6c5eo9.fsf@gnu.org> References: <87tvwm1vxa.fsf@gnu.org> <87ea6ca7-4dc9-a11b-0ea3-d6f8d3d66b31@uni-bremen.de> 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]:50815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS1zr-0007Sr-4r for guix-devel@gnu.org; Thu, 21 Dec 2017 09:38:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eS1zn-00059u-Ne for guix-devel@gnu.org; Thu, 21 Dec 2017 09:38:55 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:47979) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eS1zn-00058m-G2 for guix-devel@gnu.org; Thu, 21 Dec 2017 09:38:51 -0500 In-Reply-To: <87ea6ca7-4dc9-a11b-0ea3-d6f8d3d66b31@uni-bremen.de> (Martin Castillo's message of "Thu, 21 Dec 2017 12:20:43 +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: Martin Castillo Cc: guix-devel@gnu.org Hi, Martin Castillo skribis: >> Oops, you are right! So >>=20 >> guix build python-activepapers --with-source=3D$HOME/Development/pyth= on-activepapers/ >>=20 >> actually works, but >>=20 >> guix build python-activepapers --with-source=3D$HOME/Development/pyth= on-activepapers >>=20 > As one error message earlier in the thread stated, guix uses lstat to > get info about the stated file. lstat doesn't follow symlinks. You force > the dereference by appending the slash. Indeed. I agree the matching-name constraint can be annoying. The alternative would be allow the user to (optionally?) specify the name of the package whose source is being changed, as in: guix build python-activepapers \ --with-source=3Dpython-activepapers=3D$HOME/Dev/AP WDYT? A bit heavyweight syntactically but maybe we have to live with it. Ludo=E2=80=99.