libffi: don't check on darwin

libffi usages in stdenv broken darwin. We need to disable doCheck for that case.
This commit is contained in:
Matthew Bauer 2018-07-21 17:36:22 -04:00 committed by GitHub
parent d3cc05e607
commit dc9018dfa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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