about summary refs log tree commit diff
path: root/scripts/nix-install-package.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-29T15·48+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-29T15·48+0200
commit27a01d92c2be3e6c1be23f96d24c3d3358489a87 (patch)
tree316819a63ac571802b79b7d1e2620c4f3dc6f5f8 /scripts/nix-install-package.in
parentb72e93bca8fc045b37b1e863c423cf0e91e8c479 (diff)
Shut up "Wide character" warnings in Perl scripts
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 9340f1b729e6..23f6efbcdb87 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;