summary refs log tree commit diff
path: root/nix/libstore/store-api.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-04 16:04:41 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-02 15:18:41 +0200
commit2459458bc8257734ca78cb7a2db3df20bd730ec0 (patch)
tree20d157ed4279cd06947fbb18750b7b280576bf33 /nix/libstore/store-api.cc
parente531520ddcd54903bbea0f3ce08dfbed830f40aa (diff)
downloadguix-2459458bc8257734ca78cb7a2db3df20bd730ec0.tar.gz
Allow substitutes for builds that have preferLocalBuild set
Not substituting builds with "preferLocalBuild = true" was a bad idea,
because it didn't take the cost of dependencies into account. For
instance, if we can't substitute a fetchgit call, then we have to
download/build git and all its dependencies.

Partially reverts 5558652709f27e8a887580b77b93c705659d7a4b and adds a
new derivation attribute "allowSubstitutes" to specify whether a
derivation may be substituted.
Diffstat (limited to 'nix/libstore/store-api.cc')
0 files changed, 0 insertions, 0 deletions