about summary refs log tree commit diff
path: root/perl
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-11T12·27+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-11T12·27+0200
commitb8f24f253527e1cb071785c3b2d677ed2f734ab1 (patch)
treecba9b60e12365e21d4cf3bc0b71cde4e21885ff8 /perl
parente196eecbe6552d5afed89ad480544c90cf959922 (diff)
Fix closure size display
Diffstat (limited to 'perl')
-rw-r--r--perl/lib/Nix/CopyClosure.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Nix/CopyClosure.pm b/perl/lib/Nix/CopyClosure.pm
index 8be4ead763d2..131f0b5a4557 100644
--- a/perl/lib/Nix/CopyClosure.pm
+++ b/perl/lib/Nix/CopyClosure.pm
@@ -91,7 +91,7 @@ sub copyTo {
     $missingSize += (queryPathInfo($_, 1))[3] foreach @missing;
 
     printf STDERR "copying %d missing paths (%.2f MiB) to ‘$sshHost’...\n",
-        scalar(@missing), $missingSize / (1024.0^2);
+        scalar(@missing), $missingSize / (1024**2);
     return if $dryRun;
 
     # Send the "import paths" command.