GNU bug report logs - #18747
"preferLocalBuild" fails to distinguish between offload and substitute

Previous Next

Package: guix;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Thu, 16 Oct 2014 15:27:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #19 received at 18747 <at> debbugs.gnu.org (full text, mbox):

From: Eelco Dolstra <eelco.dolstra <at> logicblox.com>
To: Ludovic Courtès <ludo <at> gnu.org>, 18747 <at> debbugs.gnu.org
Cc: nix-dev <at> lists.science.uu.nl
Subject: Re: [PATCH] Distinguish between “offloadability” and “substitutability”
Date: Wed, 01 Jul 2015 17:27:02 +0200
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
> <http://bugs.gnu.org/18747>.)
> 
> 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/




This bug report was last modified 9 years and 329 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.