mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Make setDefault() typed
This commit is contained in:
parent
8fdb1d057a
commit
d8c10028d9
5 changed files with 7 additions and 13 deletions
|
@ -57,8 +57,8 @@ public:
|
|||
{
|
||||
// FIXME: do this lazily?
|
||||
if (auto cacheInfo = diskCache->cacheExists(cacheUri)) {
|
||||
wantMassQuery.setDefault(cacheInfo->wantMassQuery ? "true" : "false");
|
||||
priority.setDefault(fmt("%d", cacheInfo->priority));
|
||||
wantMassQuery.setDefault(cacheInfo->wantMassQuery);
|
||||
priority.setDefault(cacheInfo->priority);
|
||||
} else {
|
||||
try {
|
||||
BinaryCacheStore::init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue