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.
This commit is contained in:
Marien Zwart 2024-06-22 14:05:00 +10:00
parent fa6fe4cf93
commit 6899c075ca
No known key found for this signature in database

View file

@ -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);