nix-eval-jobs: compile with Clang

GCC still ICEs on coroutines, while Clang works properly. Use the latter, just
like for Lix itself.

Change-Id: I802d6df7279550a5f5355e6c1ea0533c6a6a6964
This commit is contained in:
Alois Wohlschlager
2025-11-29 12:01:20 +01:00
parent 7440c4ef75
commit ecf0d4c5a4
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -228,6 +228,7 @@
};
nix-eval-jobs = final.callPackage ./subprojects/nix-eval-jobs {
stdenv = currentStdenv;
srcDir = ./subprojects/nix-eval-jobs;
};
+3
View File
@@ -14,6 +14,9 @@
boost,
}:
# gcc ICEs on coroutines at least until 14.3, possibly longer
assert stdenv.cc.isClang;
let
sourceBase = if srcDir == null then ./. else srcDir;
package = stdenv.mkDerivation (finalAttrs: {