[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18747: [PATCH] Distinguish between “offloadability” and “substitutab
From: |
Eelco Dolstra |
Subject: |
bug#18747: [PATCH] Distinguish between “offloadability” and “substitutability” |
Date: |
Wed, 01 Jul 2015 17:27:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
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/