nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

perlPackages.DataClone: add patch for perl 5.38.0

+29
+26
pkgs/development/perl-modules/Data-Clone-fix-apostrophe-package-separator.patch
··· 1 + https://github.com/gfx/p5-Data-Clone/pull/3 2 + 3 + From 43102a83d15aedc61e5904eb5a6dab33c3c02b40 Mon Sep 17 00:00:00 2001 4 + From: Yves Orton <demerphq@gmail.com> 5 + Date: Thu, 9 Feb 2023 16:24:45 +0100 6 + Subject: [PATCH] t/07_stack.t - isn't is deprecated, use isnt instead 7 + 8 + As of 5.37.8 use of apostrophe for a package separator is deprecated, 9 + and in 5.40 it will be removed entirely. Switch to isnt() instead 10 + of isn't(). 11 + --- 12 + t/07_stack.t | 2 +- 13 + 1 file changed, 1 insertion(+), 1 deletion(-) 14 + 15 + diff --git a/t/07_stack.t b/t/07_stack.t 16 + index 165e6a5..a750366 100644 17 + --- a/t/07_stack.t 18 + +++ b/t/07_stack.t 19 + @@ -17,6 +17,6 @@ use Data::Clone; 20 + 21 + my $before = bless [], Bar::; 22 + my $after = clone($before); 23 + -isn't $after, $before, 'stack reallocation during callback'; 24 + +isnt $after, $before, 'stack reallocation during callback'; 25 + 26 + done_testing;
+3
pkgs/top-level/perl-packages.nix
··· 5562 5562 hash = "sha256-L+XheYgqa5Jt/vChCLSiyHof+waJK88vuI5Mj0uEODw="; 5563 5563 }; 5564 5564 buildInputs = [ TestRequires ]; 5565 + patches = [ 5566 + ../development/perl-modules/Data-Clone-fix-apostrophe-package-separator.patch 5567 + ]; 5565 5568 meta = { 5566 5569 description = "Polymorphic data cloning"; 5567 5570 license = with lib.licenses; [ artistic1 gpl1Plus ];