glib: allow cygwin

This commit is contained in:
David McFarland 2017-05-23 10:35:42 -03:00
parent 23efc95a74
commit 504f11bbab

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, gettext, perl, python
{ stdenv, hostPlatform, fetchurl, pkgconfig, gettext, perl, python
, libiconv, libintlOrEmpty, zlib, libffi, pcre, libelf
# use utillinuxMinimal to avoid circular dependency (utillinux, systemd, glib)
, utillinuxMinimal ? null
@ -9,7 +9,7 @@
with stdenv.lib;
assert stdenv.isFreeBSD || stdenv.isDarwin || stdenv.cc.isGNU;
assert stdenv.isFreeBSD || stdenv.isDarwin || stdenv.cc.isGNU || hostPlatform.isCygwin;
assert stdenv.isLinux -> utillinuxMinimal != null;
# TODO: