1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 04:21:16 +02:00

Shut up "Wide character" warnings in Perl scripts

This commit is contained in:
Eelco Dolstra 2014-08-29 17:48:25 +02:00
parent b72e93bca8
commit 27a01d92c2
10 changed files with 25 additions and 0 deletions

View file

@ -1,5 +1,6 @@
#! @perl@ -w @perlFlags@
use utf8;
use strict;
use File::Basename;
use File::Path qw(mkpath);
@ -11,6 +12,8 @@ use Nix::Manifest;
use Nix::Utils;
use Nix::Crypto;
binmode STDERR, ":encoding(utf8)";
my $tmpDir = mkTempDir("nix-push");
my $nixExpr = "$tmpDir/create-nars.nix";