diff options
author | Andrew Dunham <andrew@du.nham.ca> | 2018-02-06 18:06:23 -0800 |
---|---|---|
committer | Andrew Dunham <andrew@du.nham.ca> | 2018-02-06 18:06:23 -0800 |
commit | d3f76d7747b990b252353c7a97905a26322aae9b (patch) | |
tree | 91e8cb2662e1d71b7b91378f40361a137c604688 /pkgs/development/perl-modules/DBD-SQLite | |
parent | be8cc03ffeb40e05bfd37c7b05008ed116f543bc (diff) | |
download | nixlib-d3f76d7747b990b252353c7a97905a26322aae9b.tar nixlib-d3f76d7747b990b252353c7a97905a26322aae9b.tar.gz nixlib-d3f76d7747b990b252353c7a97905a26322aae9b.tar.bz2 nixlib-d3f76d7747b990b252353c7a97905a26322aae9b.tar.lz nixlib-d3f76d7747b990b252353c7a97905a26322aae9b.tar.xz nixlib-d3f76d7747b990b252353c7a97905a26322aae9b.tar.zst nixlib-d3f76d7747b990b252353c7a97905a26322aae9b.zip |
Fix build failures with DBD-SQLite
This passes the correct compilation flags to the builder so we pick up the path to sqlite, and (despite the fact that it's a development version), also updates to version 1.55_07 to fix https://github.com/DBD-SQLite/DBD-SQLite/issues/28
Diffstat (limited to 'pkgs/development/perl-modules/DBD-SQLite')
-rw-r--r-- | pkgs/development/perl-modules/DBD-SQLite/default.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/development/perl-modules/DBD-SQLite/default.nix b/pkgs/development/perl-modules/DBD-SQLite/default.nix index a2a439b295b0..2737ad95d4b7 100644 --- a/pkgs/development/perl-modules/DBD-SQLite/default.nix +++ b/pkgs/development/perl-modules/DBD-SQLite/default.nix @@ -2,11 +2,11 @@ buildPerlPackage rec { name = "DBD-SQLite-${version}"; - version = "1.54"; + version = "1.55_07"; src = fetchurl { - url = "mirror://cpan/authors/id/I/IS/ISHIGAKI/${name}.tar.gz"; - sha256 = "3929a6dbd8d71630f0cb57f85dcef9588cd7ac4c9fa12db79df77b9d3a4d7269"; + url = "https://github.com/DBD-SQLite/DBD-SQLite/archive/${version}.tar.gz"; + sha256 = "0213a31eb7b5afc2d7b3775ca2d1717d07fc7e9ed21ae73b2513a8d54ca222d8"; }; propagatedBuildInputs = [ DBI ]; @@ -17,8 +17,7 @@ buildPerlPackage rec { ./external-sqlite.patch ]; - SQLITE_INC = sqlite.dev + "/include"; - SQLITE_LIB = sqlite.out + "/lib"; + makeMakerFlags = "SQLITE_INC=${sqlite.dev}/include SQLITE_LIB=${sqlite.out}/lib"; preBuild = '' |