about summary refs log tree commit diff
path: root/mk/dist.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-04T14·04+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-04T14·30+0200
commitb64988bb3585478676585a0f0aecbcf4e11d4432 (patch)
treeb8c34a16fc76a42f4e9f8ea9beecd453bea05712 /mk/dist.mk
parentb190f771e7e23db363f7cb40db0e538557bbea30 (diff)
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 'mk/dist.mk')
0 files changed, 0 insertions, 0 deletions