aboutsummaryrefslogtreecommitdiff
path: root/src/nix/path-info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/path-info.cc')
-rw-r--r--src/nix/path-info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/path-info.cc b/src/nix/path-info.cc
index f7610ab08..ca02a4c92 100644
--- a/src/nix/path-info.cc
+++ b/src/nix/path-info.cc
@@ -84,7 +84,7 @@ struct CmdPathInfo : StorePathsCommand, MixJSON
std::cout << '\t' << std::setw(11) << info->narSize;
if (showClosureSize)
- std::cout << '\t' << std::setw(11) << store->getClosureSize(storePath);
+ std::cout << '\t' << std::setw(11) << store->getClosureSize(storePath).first;
if (showSigs) {
std::cout << '\t';