perlPackages.FileFindObjectRule: fix tests

This commit is contained in:
volth 2019-07-14 21:32:27 +00:00 committed by Frederik Rietdijk
parent a610024634
commit 589dd21f4e

View file

@ -6223,6 +6223,10 @@ let
sha256 = "f1f1820ff44042f6b30e4d6be1db860b9e743b1a9836070ea656ad9829e4eca5";
};
propagatedBuildInputs = [ FileFindObject NumberCompare TextGlob ];
# restore t/sample-data which is corrupted by patching shebangs
preCheck = ''
tar xf $src */t/sample-data --strip-components=1
'';
meta = {
homepage = https://www.shlomifish.org/open-source/projects/File-Find-Object/;
description = "Alternative interface to File::Find::Object";