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: Sat, 23 Dec 2017 00:07:25 +0100 Message-ID: <87tvwi5ple.fsf@gnu.org> References: <87tvwm1vxa.fsf@gnu.org> <87ea6ca7-4dc9-a11b-0ea3-d6f8d3d66b31@uni-bremen.de> <87zi6c5eo9.fsf@gnu.org> 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]:48964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSWPd-0000pD-Ee for guix-devel@gnu.org; Fri, 22 Dec 2017 18:07:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSWPZ-0001Hl-1x for guix-devel@gnu.org; Fri, 22 Dec 2017 18:07:33 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:35886) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eSWPY-0001H7-RT for guix-devel@gnu.org; Fri, 22 Dec 2017 18:07:28 -0500 In-Reply-To: (Konrad Hinsen's message of "Thu, 21 Dec 2017 18:02:29 +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@gnu.org Konrad Hinsen skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> 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? > > Looks much clearer to me. But, as you say, this could well be optional > if we can live with an ambiguity in the rare case of filenames containg > an equal sign. I=E2=80=99ve implemented it here: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D3e30cdf1c35ebeb52= 630ec19b3b43b9e6d5ffb81 You no longer need to rename your source directory. :-) Ludo=E2=80=99.