diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-11-17T14·31+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-11-17T14·31+0000 |
commit | bdf089f46362b8c9defefa0a14e3198582e12818 (patch) | |
tree | 08ca2824d09cee5b00cbf9b9fc9294f326120598 /src/nix-worker | |
parent | 06699d4219019182d9e45ebc613ae1a1df23f257 (diff) |
* Before a build, show the disk space that the downloaded store paths
will approximately require.
Diffstat (limited to 'src/nix-worker')
-rw-r--r-- | src/nix-worker/nix-worker.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix-worker/nix-worker.cc b/src/nix-worker/nix-worker.cc index dbcd90be1b2e..081b5b2fd9f4 100644 --- a/src/nix-worker/nix-worker.cc +++ b/src/nix-worker/nix-worker.cc @@ -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; } |