1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-17 07:52:43 +01:00

* Add an option ‘build-use-substitutes’, which can be set to ‘false’

to disable use of substitutes; i.e., force building from source.
  Fixes Nix/221.
This commit is contained in:
Eelco Dolstra 2012-04-30 19:15:34 -04:00
parent 59a26360c7
commit db5b86ef13
6 changed files with 23 additions and 4 deletions

View file

@ -197,6 +197,9 @@ void RemoteStore::setOptions()
}
if (GET_PROTOCOL_MINOR(daemonVersion) >= 6)
writeInt(buildCores, to);
if (GET_PROTOCOL_MINOR(daemonVersion) >= 10)
writeInt(queryBoolSetting("build-use-substitutes", true), to);
processStderr();
}