From bd8d7a8d15def4730491c4e19a0a0406bc740c9c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 31 Jul 2012 17:21:41 -0400 Subject: Add some packages to the channel --- pkgs/development/perl-modules/DBD-Pg/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'pkgs/development/perl-modules/DBD-Pg/default.nix') diff --git a/pkgs/development/perl-modules/DBD-Pg/default.nix b/pkgs/development/perl-modules/DBD-Pg/default.nix index 02c43640407..0d0cb1accc5 100644 --- a/pkgs/development/perl-modules/DBD-Pg/default.nix +++ b/pkgs/development/perl-modules/DBD-Pg/default.nix @@ -1,15 +1,17 @@ -{ fetchurl, buildPerlPackage, DBI, postgresql }: +{ stdenv, fetchurl, buildPerlPackage, DBI, postgresql }: buildPerlPackage rec { name = "DBD-Pg-2.19.2"; - + src = fetchurl { url = "mirror://cpan/modules/by-module/DBD/${name}.tar.gz"; sha256 = "0scnhbp0lfclbppbsfzmcyw32z8jhb9calvbg9q3gk4kli1119j9"; }; - + buildInputs = [ postgresql ]; propagatedBuildInputs = [ DBI ]; - + makeMakerFlags = "POSTGRES_HOME=${postgresql}"; + + meta.platforms = stdenv.lib.platforms.linux; } -- cgit 1.4.1