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"