From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eelco Dolstra Subject: bug#18747: [PATCH] Distinguish between =?UTF-8?Q?=E2=80=9Coffloadability=E2=80=9D?= and =?UTF-8?Q?=E2=80=9Csubstitutability=E2=80=9D?= Date: Wed, 01 Jul 2015 17:27:02 +0200 Message-ID: <559406C6.7040209__17286.5322129384$1435783693$gmane$org@logicblox.com> References: <87h9z4594k.fsf@gnu.org> <874mv458bo.fsf@gnu.org> <87lhog3tmd.fsf@gnu.org> <87d20boqcw.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]:39310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAJyd-0004zc-Ju for bug-guix@gnu.org; Wed, 01 Jul 2015 11:31:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAJyZ-0000dP-C2 for bug-guix@gnu.org; Wed, 01 Jul 2015 11:31:07 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:34764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAJyZ-0000dD-8B for bug-guix@gnu.org; Wed, 01 Jul 2015 11:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZAJyZ-0000wO-0X for bug-guix@gnu.org; Wed, 01 Jul 2015 11:31:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87d20boqcw.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?= , 18747@debbugs.gnu.org Cc: nix-dev@lists.science.uu.nl Hi, On 01/07/15 17:21, Ludovic Courtès wrote: > Nix commit 55586527 (June 2013) changed the semantics of > ‘preferLocalBuild’ from “avoid offloading this derivation” to “avoid > offloading *or substituting* this derivation” (see > .) > > This patch introduces a new special key, ‘substitution’, to specify > whether a derivation should be substituted. ‘preferLocalBuild’ is kept, > but its initial semantics is restored. Have you seen https://github.com/NixOS/nix/commit/b64988bb3585478676585a0f0aecbcf4e11d4432, which essentially does the same thing? -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/