strip-nondeterminism: fix zip handler

https://salsa.debian.org/reproducible-builds/strip-nondeterminism/-/blob/master/lib/File/StripNondeterminism/handlers/zip.pm#L29

it was working on linux because the tests are run on linux
This commit is contained in:
Artturin 2023-06-03 23:43:41 +03:00
parent 19b6e4bedb
commit 449a46278e

View File

@ -28,10 +28,9 @@ buildPerlPackage rec {
buildInputs = [
ArchiveZip
ArchiveCpio
SubOverride
];
nativeCheckInputs = [ SubOverride ];
postPatch = ''
substituteInPlace lib/File/StripNondeterminism.pm \
--replace "exec('file'" "exec('${lib.getExe file}'"