DBD::SQLite: Don't install a copy of the SQLite sources

This saves almost 5 MB.
This commit is contained in:
Eelco Dolstra 2012-08-17 18:11:53 -04:00
parent b8be9b54f3
commit 911e9f3f43

View File

@ -17,8 +17,14 @@ buildPerlPackage rec {
./external-sqlite.patch
];
# Prevent warnings from `strip'.
postInstall = "chmod -R u+w $out";
postInstall =
''
# Prevent warnings from `strip'.
chmod -R u+w $out
# Get rid of a pointless copy of the SQLite sources.
rm -rf $out/lib/perl5/site_perl/*/*/auto/share
'';
# Disabled because the tests can randomly fail due to timeouts
# (e.g. "database is locked(5) at dbdimp.c line 402 at t/07busy.t").