about summary refs log tree commit diff
path: root/perl/lib/Nix/CopyClosure.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl/lib/Nix/CopyClosure.pm')
-rw-r--r--perl/lib/Nix/CopyClosure.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl/lib/Nix/CopyClosure.pm b/perl/lib/Nix/CopyClosure.pm
index d707158b568b..10d26c3a71f0 100644
--- a/perl/lib/Nix/CopyClosure.pm
+++ b/perl/lib/Nix/CopyClosure.pm
@@ -1,5 +1,6 @@
 package Nix::CopyClosure;
 
+use utf8;
 use strict;
 use Nix::Config;
 use Nix::Store;
@@ -41,7 +42,7 @@ sub copyToOpen {
     # Send the "import paths" command.
     syswrite($to, pack("L<x4", 4)) or die;
     exportPaths(fileno($to), $sign, @missing);
-    readInt($from) == 1 or die "remote machine \`$sshHost' failed to import closure\n";
+    readInt($from) == 1 or die "remote machine ‘$sshHost’ failed to import closure\n";
 }
 
 
@@ -105,7 +106,7 @@ sub oldCopyTo {
         unless ($dryRun) {
             open SSH, "| ssh $sshHost @{$sshOpts} @globalSshOpts 'nix-store --import' > /dev/null" or die;
             exportPaths(fileno(SSH), $sign, @missing);
-            close SSH or die "copying store paths to remote machine `$sshHost' failed: $?";
+            close SSH or die "copying store paths to remote machine ‘$sshHost’ failed: $?";
         }
     }
 }