* nix-env --dry-run: show the total size of the substituter
downloads.
This commit is contained in:
parent
03427e76f1
commit
c4f98941ed
4 changed files with 15 additions and 5 deletions
|
|
@ -565,7 +565,10 @@ bool LocalStore::querySubstitutablePathInfo(const Path & path,
|
|||
Path p; getline(*run.from, p);
|
||||
info.references.insert(p);
|
||||
}
|
||||
info.downloadSize = 0;
|
||||
getline(*run.from, s);
|
||||
long long size;
|
||||
if (!string2Int(s, size)) abort();
|
||||
info.downloadSize = size;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue