From c19d8926fd680811822cafd3ae2a8e059d4253c1 Mon Sep 17 00:00:00 2001 From: happysalada Date: Mon, 15 May 2023 14:57:27 -0400 Subject: [PATCH] tinycc: fix static build --- pkgs/development/compilers/tinycc/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/tinycc/default.nix b/pkgs/development/compilers/tinycc/default.nix index ed1d7fc57a64..906df89b2117 100644 --- a/pkgs/development/compilers/tinycc/default.nix +++ b/pkgs/development/compilers/tinycc/default.nix @@ -75,7 +75,9 @@ stdenv.mkDerivation rec { outputs = [ "out" "info" "man" ]; - doCheck = true; + # Test segfault for static build + doCheck = !stdenv.hostPlatform.isStatic; + checkTarget = "test"; # https://www.mail-archive.com/tinycc-devel@nongnu.org/msg10142.html preCheck = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''