perlPackages.DBDSQLite: placate DBIxClass test failure

… by using an older version of SQLite.

Mentioned in #18209 and #18083

obadz 89fc9599 adf471c8

Changed files
+14 -1
pkgs
top-level
+14 -1
pkgs/top-level/perl-packages.nix
···
DBDSQLite = import ../development/perl-modules/DBD-SQLite {
inherit stdenv fetchurl buildPerlPackage DBI;
-
inherit (pkgs) sqlite;
+
# inherit (pkgs) sqlite;
+
+
# Workaround to address DBIxClass test failure.
+
# https://rt.cpan.org/Public/Bug/Display.html?id=117271#txn-1662798
+
# https://github.com/NixOS/nixpkgs/pull/18083#issuecomment-243408430
+
sqlite = pkgs.sqlite.overrideDerivation (_: {
+
name = "sqlite-3.13.0";
+
+
src = fetchurl {
+
url = "http://sqlite.org/2016/sqlite-autoconf-3130000.tar.gz";
+
sha256 = "0sq88jbwsk48i41f7m7rkw9xvijq011nsbs7pl49s31inck70yg2";
+
};
+
});
};
DBDmysql = import ../development/perl-modules/DBD-mysql {
···
DBIxClass = buildPerlPackage rec {
name = "DBIx-Class-0.082840";
+
# UPGRADE Note: Please remove workaround in DBDSQLite above
src = fetchurl {
url = "mirror://cpan/authors/id/R/RI/RIBASUSHI/${name}.tar.gz";
sha256 = "4049afd175e315ebcab945b19030aec40bcec46cc5611b0286a5a267ca7181ef";