From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH] gnu: Add OCaml. licenses: Add QPL. Date: Mon, 21 Jan 2013 21:25:29 +0100 Message-ID: <201301212125.29802.andreas@enge.fr> References: <1358732753-8220-1-git-send-email-tipecaml@gmail.com> <201301211043.28518.andreas@enge.fr> <87mww28f2x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_5Qa/QbY8/pFCfWd" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxNw5-0005Mw-Af for bug-guix@gnu.org; Mon, 21 Jan 2013 15:25:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxNw2-0005rr-9Z for bug-guix@gnu.org; Mon, 21 Jan 2013 15:25:41 -0500 In-Reply-To: <87mww28f2x.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: bug-guix@gnu.org --Boundary-01=_5Qa/QbY8/pFCfWd Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Am Montag, 21. Januar 2013 schrieb Ludovic Court=C3=A8s: > Alternately, you could move the =E2=80=98check=E2=80=99 phase after the i= nstall phase, > like this (untested): But then, if the check fails, the /nix/store would contain an "invalid"=20 package, no? I think it would be desirable to install only packages for=20 which the check succeeds (granted, installation itself may fail, but this=20 is less likely). Andreas --Boundary-01=_5Qa/QbY8/pFCfWd Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Am Montag, = 21. Januar 2013 schrieb Ludovic Court=C3=A8s:

> Altern= ately, you could move the =E2=80=98check=E2=80=99 phase after the install p= hase,

> like t= his (untested):

&nb= sp;

But then, i= f the check fails, the /nix/store would contain an "invalid" pack= age, no? I think it would be desirable to install only packages for which t= he check succeeds (granted, installation itself may fail, but this is less = likely).

&nb= sp;

Andreas

&nb= sp;

--Boundary-01=_5Qa/QbY8/pFCfWd--