From 0a107102ad4ad6b6c62ae1b29be5733ee7ff88c9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 13 Mar 2007 13:38:33 +0000 Subject: [PATCH] * Fix the XML::Parser build hook. svn path=/nixpkgs/trunk/; revision=8280 --- pkgs/development/perl-modules/XML-Parser/default.nix | 2 +- pkgs/development/perl-modules/XML-Parser/hook.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 pkgs/development/perl-modules/XML-Parser/hook.sh diff --git a/pkgs/development/perl-modules/XML-Parser/default.nix b/pkgs/development/perl-modules/XML-Parser/default.nix index 8ea0606f0eb0..ce86a007279d 100644 --- a/pkgs/development/perl-modules/XML-Parser/default.nix +++ b/pkgs/development/perl-modules/XML-Parser/default.nix @@ -6,6 +6,6 @@ import ../generic perl { url = http://nix.cs.uu.nl/dist/tarballs/XML-Parser-2.34.tar.gz; md5 = "84d9e0001fe01c14867256c3fe115899"; }; - perlPreHook = ./hook.sh; + perlPreHook = "makeMakerFlags=\"EXPATLIBPATH=$expat/lib EXPATINCPATH=$expat/include\""; inherit expat; } diff --git a/pkgs/development/perl-modules/XML-Parser/hook.sh b/pkgs/development/perl-modules/XML-Parser/hook.sh deleted file mode 100644 index 44df351a2220..000000000000 --- a/pkgs/development/perl-modules/XML-Parser/hook.sh +++ /dev/null @@ -1 +0,0 @@ -makeMakerFlags="EXPATLIBPATH=$expat/lib EXPATINCPATH=$expat/include"