diff --git a/pkgs/development/perl-modules/strip-nondeterminism/default.nix b/pkgs/development/perl-modules/strip-nondeterminism/default.nix index f867e8437432..3dac3868e664 100644 --- a/pkgs/development/perl-modules/strip-nondeterminism/default.nix +++ b/pkgs/development/perl-modules/strip-nondeterminism/default.nix @@ -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}'"