From c6cbef9aece79e7dc2957368eceed0840c386638 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Thu, 28 Apr 2022 14:33:55 +0200 Subject: [PATCH] libffi: disable tests if linked statically TCL 8.6 which dejagnu requires can't be linked statically. --- pkgs/development/libraries/libffi/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libffi/default.nix b/pkgs/development/libraries/libffi/default.nix index 6a22d585fbc8..125beae01efd 100644 --- a/pkgs/development/libraries/libffi/default.nix +++ b/pkgs/development/libraries/libffi/default.nix @@ -1,7 +1,9 @@ { lib, stdenv, fetchurl, fetchpatch , autoreconfHook -, doCheck ? true # test suite depends on dejagnu which cannot be used during bootstrapping + # test suite depends on dejagnu which cannot be used during bootstrapping + # dejagnu also requires tcl which can't be built statically at the moment +, doCheck ? !(stdenv.hostPlatform.isStatic) , dejagnu }: