mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 22:12:43 +01:00
* Before a build, show the disk space that the downloaded store paths
will approximately require.
This commit is contained in:
parent
06699d4219
commit
bdf089f463
11 changed files with 36 additions and 29 deletions
|
|
@ -521,6 +521,8 @@ static void performOp(unsigned int clientVersion,
|
|||
writeString(info.deriver, to);
|
||||
writeStringSet(info.references, to);
|
||||
writeLongLong(info.downloadSize, to);
|
||||
if (GET_PROTOCOL_MINOR(clientVersion) >= 7)
|
||||
writeLongLong(info.narSize, to);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue