From ec7b4581d7e4cab10b4f3184ae5965cb2046a385 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Thu, 7 Mar 2024 08:48:40 +0100 Subject: [PATCH] pkgsMusl.postgresql: mark v12 and v13 with JIT as broken Those currently don't build on master, not sure whether they ever built correctly in the first place. --- pkgs/servers/sql/postgresql/generic.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/sql/postgresql/generic.nix b/pkgs/servers/sql/postgresql/generic.nix index 48f5ff4fc9cc..d2979f624bda 100644 --- a/pkgs/servers/sql/postgresql/generic.nix +++ b/pkgs/servers/sql/postgresql/generic.nix @@ -285,7 +285,9 @@ let # resulting LLVM IR isn't platform-independent this doesn't give you much. # In fact, I tried to test the result in a VM-test, but as soon as JIT was used to optimize # a query, postgres would coredump with `Illegal instruction`. - broken = jitSupport && (stdenv.hostPlatform != stdenv.buildPlatform); + broken = (jitSupport && stdenv.hostPlatform != stdenv.buildPlatform) + # Allmost all tests fail FATAL errors for v12 and v13 + || (jitSupport && stdenv.hostPlatform.isMusl && olderThan "14"); }; });