darwin purity: wget

This commit is contained in:
Jude Taylor 2015-06-22 17:00:57 -07:00
parent d0951cb68d
commit 33de26c029

View File

@ -10,12 +10,11 @@ stdenv.mkDerivation rec {
sha256 = "0dzv5xf9qxc2bp4cyifmaghh3h464wbm73xiwcrvckf1ynqbgxv7"; sha256 = "0dzv5xf9qxc2bp4cyifmaghh3h464wbm73xiwcrvckf1ynqbgxv7";
}; };
preConfigure = stdenv.lib.optionalString doCheck preConfigure = ''
'' for i in "doc/texi2pod.pl" "util/rmold.pl" for i in "doc/texi2pod.pl" "util/rmold.pl"; do
do
sed -i "$i" -e 's|/usr/bin.*perl|${perl}/bin/perl|g' sed -i "$i" -e 's|/usr/bin.*perl|${perl}/bin/perl|g'
done done
'' + stdenv.lib.optionalString doCheck ''
# Work around lack of DNS resolution in chroots. # Work around lack of DNS resolution in chroots.
for i in "tests/"*.pm "tests/"*.px for i in "tests/"*.pm "tests/"*.px
do do