From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: make packagers life easier Date: Mon, 16 Mar 2015 19:39:57 +0100 Message-ID: <20150316183957.GB17577@debian> References: <20150315170032.GA14849@venom> <874mpk3mhw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXZvp-0001nb-6e for guix-devel@gnu.org; Mon, 16 Mar 2015 14:40:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXZvl-0003lK-5u for guix-devel@gnu.org; Mon, 16 Mar 2015 14:40:05 -0400 Content-Disposition: inline In-Reply-To: <874mpk3mhw.fsf@gnu.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?iso-8859-15?Q?Court=E8s?= Cc: guix-devel@gnu.org On Mon, Mar 16, 2015 at 06:01:15PM +0100, Ludovic Courtès wrote: > > How to implement? > > - inject always failing phase into phases list > I’d like to read what others think because I’m probably biased, but my > first reaction is that (1) I’ve rarely if ever felt the need for this, > (2) adding a failing phase is easy to do by hand, and (3) it would be > hard to implement this generically currently (phases are not exposed.) Agreed. One thing that works when one adds a customised phase is to let it finish with #f. Of course, if everything is standard, one needs to add such a phase, which is a bit of typing. Maybe with Taylan's new syntax, it has become easier. Andreas