diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-17 18:11:53 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-17 18:11:53 -0400 |
commit | 911e9f3f43231ea8c76afb9afeb700739d633daa (patch) | |
tree | 6924017e8496af86289456b644e79b138b0564de /pkgs/development/perl-modules | |
parent | b8be9b54f31e8b932dce73b275456311303a096b (diff) | |
download | nixpkgs-911e9f3f43231ea8c76afb9afeb700739d633daa.tar nixpkgs-911e9f3f43231ea8c76afb9afeb700739d633daa.tar.gz nixpkgs-911e9f3f43231ea8c76afb9afeb700739d633daa.tar.bz2 nixpkgs-911e9f3f43231ea8c76afb9afeb700739d633daa.tar.lz nixpkgs-911e9f3f43231ea8c76afb9afeb700739d633daa.tar.xz nixpkgs-911e9f3f43231ea8c76afb9afeb700739d633daa.tar.zst nixpkgs-911e9f3f43231ea8c76afb9afeb700739d633daa.zip |
DBD::SQLite: Don't install a copy of the SQLite sources
This saves almost 5 MB.
Diffstat (limited to 'pkgs/development/perl-modules')
-rw-r--r-- | pkgs/development/perl-modules/DBD-SQLite/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/perl-modules/DBD-SQLite/default.nix b/pkgs/development/perl-modules/DBD-SQLite/default.nix index 4cc2eb6a01c..bbe50182b90 100644 --- a/pkgs/development/perl-modules/DBD-SQLite/default.nix +++ b/pkgs/development/perl-modules/DBD-SQLite/default.nix @@ -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"). |