about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-01-02 23:33:08 +0100
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-01-02 23:33:08 +0100
commit9144942aa343ed8317ab1a48497dcf4315791d9d (patch)
treee55883e1d1463ff1245208fdab2cce3552ef68a9 /pkgs/development/compilers
parent1ca08d4c638a89f2c82bec993f9ca4893faf3241 (diff)
tinycc: unbreak on x86_64-darwin
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/tinycc/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/compilers/tinycc/default.nix b/pkgs/development/compilers/tinycc/default.nix
index 21eb497a116ab..159b1827fc8fd 100644
--- a/pkgs/development/compilers/tinycc/default.nix
+++ b/pkgs/development/compilers/tinycc/default.nix
@@ -78,6 +78,10 @@ stdenv.mkDerivation rec {
 
   doCheck = true;
   checkTarget = "test";
+  # https://www.mail-archive.com/tinycc-devel@nongnu.org/msg10142.html
+  preCheck = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
+    rm tests/tests2/{108,114}*
+  '';
 
   meta = with lib; {
     homepage = "https://repo.or.cz/tinycc.git";
@@ -106,7 +110,8 @@ stdenv.mkDerivation rec {
     license = licenses.lgpl21Only;
     maintainers = with maintainers; [ joachifm AndersonTorres ];
     platforms = platforms.unix;
-    broken = stdenv.isDarwin;
+    # https://www.mail-archive.com/tinycc-devel@nongnu.org/msg10199.html
+    broken = stdenv.isDarwin && stdenv.isAarch64;
   };
 }
 # TODO: more multiple outputs