Merge pull request #91699 from neilmayhew/fix/file-rename/darwin
file-rename: Fix an incorrect test that misidentifies Darwin as Windows
This commit is contained in:
commit
aec558774b
@ -11,6 +11,12 @@ perlPackages.buildPerlPackage {
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
# Fix an incorrect platform test that misidentifies Darwin as Windows
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.PL \
|
||||
--replace '/win/i' '/MSWin32/'
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/rename \
|
||||
--prefix PERL5LIB : $out/${perlPackages.perl.libPrefix}
|
||||
|
Loading…
Reference in New Issue
Block a user