libffi: only run tests on musl targets

Python3 is now needed for for glibc build which pulls libffi,
so I suppose libffi is now part of stdenv on linux with glibc
as on darwin.
This commit is contained in:
Luka Blaskovic 2020-01-05 09:46:45 +00:00
parent 2d36eac780
commit be3e7b4f44

View File

@ -1,9 +1,9 @@
{ stdenv, fetchurl, fetchpatch
, autoreconfHook
# libffi is used in darwin stdenv
# libffi is used in darwin and linux with glibc stdenv
# we cannot run checks within it
, doCheck ? !stdenv.isDarwin, dejagnu
, doCheck ? stdenv.hostPlatform.isMusl, dejagnu
}:
stdenv.mkDerivation rec {