From 6899c075ca340a0d132f6be8a9d5bb03424efa4c Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Sat, 22 Jun 2024 14:05:00 +1000 Subject: [PATCH] Experiment: run tests without nativecomp Downside: needs to be disabled at the Emacs (not emacsWithPackages) level, so this builds Emacs. Upside: still seems to be faster, at least in limited local testing. And if CI caches Emacs this should be substantially faster there. --- checks.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/checks.nix b/checks.nix index 47877c8..68129bb 100644 --- a/checks.nix +++ b/checks.nix @@ -15,6 +15,7 @@ { callPackages, emptyDirectory, + emacs, lib, linkFarm, runCommand, @@ -34,6 +35,7 @@ let common = { doomLocalDir = "~/.local/share/nix-doom-unstraightened"; experimentalFetchTree = true; + emacs = emacs.override { withNativeCompilation = false; }; }; mkDoom = args: (makeDoomPackages (common // args)).doomEmacs; mkDoomDir = args: writeTextDir "init.el" (toInit args);