1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
nixpkgs/pkgs/development/perl-modules/DB_File/default.nix
Vladimír Čunát cd993d0e10 perl DB_file: fix build by not changing $out/lib/perl5
The package already installs into $oul/lib/perl5/site_perl by itself.
Presumably it broke after d0bad145f5 due to removing perllocal.pod
(because this compiles on master and not here).
2015-01-20 14:08:17 +01:00

20 lines
393 B
Nix

{fetchurl, buildPerlPackage, db}:
buildPerlPackage rec {
name = "DB_File-1.831";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
sha256 = "0hq2vvcsa3nkb5bpcl0nkfsxhk8wyrsp3p3ara18rscrfd783hjs";
};
preConfigure = ''
cat > config.in <<EOF
PREFIX = size_t
HASH = u_int32_t
LIB = ${db}/lib
INCLUDE = ${db}/include
EOF
'';
}