aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix-install-package.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nix-install-package.in')
-rwxr-xr-xscripts/nix-install-package.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/nix-install-package.in b/scripts/nix-install-package.in
index 9340f1b72..23f6efbcd 100755
--- a/scripts/nix-install-package.in
+++ b/scripts/nix-install-package.in
@@ -1,9 +1,12 @@
#! @perl@ -w @perlFlags@
+use utf8;
use strict;
use Nix::Config;
use Nix::Utils;
+binmode STDERR, ":encoding(utf8)";
+
# Parse the command line arguments.
my @args = @ARGV;