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
|
, libiconv, libintlOrEmpty, zlib, libffi, pcre, libelf
|
||||||
# use utillinuxMinimal to avoid circular dependency (utillinux, systemd, glib)
|
# use utillinuxMinimal to avoid circular dependency (utillinux, systemd, glib)
|
||||||
, utillinuxMinimal ? null
|
, utillinuxMinimal ? null
|
||||||
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
with stdenv.lib;
|
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;
|
assert stdenv.isLinux -> utillinuxMinimal != null;
|
||||||
|
|
||||||
# TODO:
|
# TODO:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user