about summary refs log tree commit diff
diff options
context:
space:
mode:
-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.