From dc9018dfa29a7df50e4ad51c60db5bf2e5cd980b Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sat, 21 Jul 2018 17:36:22 -0400 Subject: [PATCH] libffi: don't check on darwin libffi usages in stdenv broken darwin. We need to disable doCheck for that case. --- pkgs/development/libraries/libffi/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libffi/default.nix b/pkgs/development/libraries/libffi/default.nix index c35448066ee..6f1aeefa675 100644 --- a/pkgs/development/libraries/libffi/default.nix +++ b/pkgs/development/libraries/libffi/default.nix @@ -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 {