forked from mirrors/nixpkgs
glib: allow cygwin
This commit is contained in:
parent
23efc95a74
commit
504f11bbab
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue