nghttp2: only run tests on GNU

Fixes pkgsMusl.nghttp2.

Fixes: 32dbdc4388 ("nghttp2: 1.43.0 -> 1.47.0")
main
Alyssa Ross 2 years ago
parent 0a8b4eddd2
commit 8685cea963
  1. 4
      pkgs/development/libraries/nghttp2/default.nix

@ -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

Loading…
Cancel
Save