autoconf: use stdenv.system in stead of builtins.currentSystem for doCheck

svn path=/nixpkgs/trunk/; revision=22506
This commit is contained in:
Rob Vermaas 2010-07-07 11:42:04 +00:00
parent a157c84c81
commit 78ba3b5d01

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
# Work around a known issue in Cygwin. See
# http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for
# details.
doCheck = (builtins.currentSystem != "i686-cygwin");
doCheck = (stdenv.system != "i686-cygwin");
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
# "fixed" path in generated files!