darwin purity: wget
This commit is contained in:
parent
d0951cb68d
commit
33de26c029
@ -10,20 +10,19 @@ 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
|
sed -i "$i" -e's/localhost/127.0.0.1/g'
|
||||||
sed -i "$i" -e's/localhost/127.0.0.1/g'
|
done
|
||||||
done
|
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
export LIBS="-liconv -lintl"
|
||||||
export LIBS="-liconv -lintl"
|
'';
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ gettext pkgconfig ];
|
nativeBuildInputs = [ gettext pkgconfig ];
|
||||||
buildInputs = [ libidn libiconv libpsl ]
|
buildInputs = [ libidn libiconv libpsl ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user