From be3e7b4f44911953bd65cbd5866619301f64d398 Mon Sep 17 00:00:00 2001 From: Luka Blaskovic Date: Sun, 5 Jan 2020 09:46:45 +0000 Subject: [PATCH] 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. --- pkgs/development/libraries/libffi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libffi/default.nix b/pkgs/development/libraries/libffi/default.nix index cc080e7c638..86e790bb965 100644 --- a/pkgs/development/libraries/libffi/default.nix +++ b/pkgs/development/libraries/libffi/default.nix @@ -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 {