summary refs log tree commit diff
path: root/pkgs/development/perl-modules
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-06 15:42:06 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-06 15:42:06 +0100
commite047db8f4a41c3ca4fddf9143fcc4a2a400e802b (patch)
tree08da2198d86e54bea3eaed9536e2534b0a46c5eb /pkgs/development/perl-modules
parent8eb5b123667a767ab26b86beff5a842be16008c1 (diff)
downloadnixpkgs-e047db8f4a41c3ca4fddf9143fcc4a2a400e802b.tar
nixpkgs-e047db8f4a41c3ca4fddf9143fcc4a2a400e802b.tar.gz
nixpkgs-e047db8f4a41c3ca4fddf9143fcc4a2a400e802b.tar.bz2
nixpkgs-e047db8f4a41c3ca4fddf9143fcc4a2a400e802b.tar.lz
nixpkgs-e047db8f4a41c3ca4fddf9143fcc4a2a400e802b.tar.xz
nixpkgs-e047db8f4a41c3ca4fddf9143fcc4a2a400e802b.tar.zst
nixpkgs-e047db8f4a41c3ca4fddf9143fcc4a2a400e802b.zip
Net::Amazon::S3: Shut up a big fat warning during Hydra startup
Diffstat (limited to 'pkgs/development/perl-modules')
-rw-r--r--pkgs/development/perl-modules/net-amazon-s3-moose-warning.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/net-amazon-s3-moose-warning.patch b/pkgs/development/perl-modules/net-amazon-s3-moose-warning.patch
new file mode 100644
index 00000000000..3ac3f4e2a82
--- /dev/null
+++ b/pkgs/development/perl-modules/net-amazon-s3-moose-warning.patch
@@ -0,0 +1,25 @@
+https://github.com/pfig/net-amazon-s3/pull/42
+
+From 116d73235d8243ec4427e6d7bf1f14f7fb9129aa Mon Sep 17 00:00:00 2001
+From: Jay Hannah <jay.hannah@iinteractive.com>
+Date: Thu, 8 May 2014 02:29:14 +0000
+Subject: [PATCH] Patch for current versions of Moose: "Passing a list of
+ values to enum is deprecated. Enum values should be wrapped in an arrayref."
+
+---
+ lib/Net/Amazon/S3/Client/Object.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/Net/Amazon/S3/Client/Object.pm b/lib/Net/Amazon/S3/Client/Object.pm
+index 08e48c6..106f2fd 100755
+--- a/lib/Net/Amazon/S3/Client/Object.pm
++++ b/lib/Net/Amazon/S3/Client/Object.pm
+@@ -16,7 +16,7 @@ enum 'AclShort' =>
+     [ qw(private public-read public-read-write authenticated-read) ];
+ 
+ enum 'StorageClass' =>
+-    qw(standard reduced_redundancy);
++    [ qw(standard reduced_redundancy) ];
+ 
+ has 'client' =>
+     ( is => 'ro', isa => 'Net::Amazon::S3::Client', required => 1 );