From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Binary substituter Date: Thu, 04 Apr 2013 00:14:06 +0200 Message-ID: <87a9pfl0sx.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 ([208.118.235.92]:36117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNVwk-00053V-67 for bug-guix@gnu.org; Wed, 03 Apr 2013 18:14:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNVwf-0005yI-FH for bug-guix@gnu.org; Wed, 03 Apr 2013 18:14:22 -0400 Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=43895 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNVwf-0005xF-8W for bug-guix@gnu.org; Wed, 03 Apr 2013 18:14:17 -0400 Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id 9FA2C9BD5 for ; Thu, 4 Apr 2013 00:14:07 +0200 (CEST) Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PWhoAsOICtBV for ; Thu, 4 Apr 2013 00:14:07 +0200 (CEST) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 4383E889D for ; Thu, 4 Apr 2013 00:14:07 +0200 (CEST) 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: bug-guix@gnu.org Hello, Commit f65cf81 adds the beginning of a =E2=80=9Cbinary substituter=E2=80=9D. The substituter (in Nix parlance) is the mechanism by which a pre-built binary can be substituted to a locally-built binary. The idea is that, when you=E2=80=99re about to build, say, /nix/store/xxx-emacs-24.3.1, the d= aemon ask substituters whether they have substitutes for that; in turn, substituters typically ask some server whether it has that path and download it. Thus, it allows transparent binary deployment, building from source when no other option is available (or the user insists). This commit adds the =E2=80=98guix substitute-binary=E2=80=99 command, whic= h is intended for use by the daemon, not by normal users. So far, the daemon can invoke it to know which substitutes are available on hydra.gnu.org. It cannot actually download them yet, but that should be done Real Soon, so stay tuned. :-) Ludo=E2=80=99.