nghttp2: only run tests on GNU

Fixes pkgsMusl.nghttp2.

Fixes: 32dbdc4388 ("nghttp2: 1.43.0 -> 1.47.0")
This commit is contained in:
Alyssa Ross 2022-03-17 14:05:13 +00:00
parent 0a8b4eddd2
commit 8685cea963

View file

@ -13,8 +13,8 @@
, enableJemalloc ? false, jemalloc ? null
, enablePython ? false, python ? null, cython ? null, ncurses ? null, setuptools ? null
# Unit tests ; on Darwin CUnit brings an additional dependency on ncurses which is inconvenient here
, enableTests ? (!stdenv.isDarwin), cunit ? null, tzdata ? null
# Unit tests ; we have to set TZDIR, which is a GNUism.
, enableTests ? stdenv.hostPlatform.isGnu, cunit ? null, tzdata ? null
# downstream dependencies, for testing
, curl