mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 13:45:49 +02:00
perl: revert "re-enable the postPatch hook on Darwin"
This reverts commit 1778200519
.
Apparently, the sed -i syntax is different from what I thought, because
now the build fails on Darwin, saying:
sed: -i.bak: No such file or directory
See http://hydra.nixos.org/build/5829944/nixlog/1/raw for more details.
This commit is contained in:
parent
1778200519
commit
71f191bdba
|
@ -77,12 +77,12 @@ stdenv.mkDerivation rec {
|
|||
cpan/CPANPLUS/t/20_CPANPLUS-Dist-MM.t \
|
||||
'' + " ";
|
||||
|
||||
postPatch = ''
|
||||
postPatch = optionalString (!stdenv.isDarwin) /* this failed on Darwin, no idea why */ ''
|
||||
for test in ${testsToSkip}; do
|
||||
echo "Removing test" $test
|
||||
rm "$test"
|
||||
pat=`echo "$test" | sed 's,/,\\\\/,g'` # just escape slashes
|
||||
sed "/^$pat/d" -i.bak MANIFEST
|
||||
sed "/^$pat/d" -i MANIFEST
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue