about summary refs log tree commit diff
path: root/overlays
diff options
context:
space:
mode:
Diffstat (limited to 'overlays')
-rw-r--r--overlays/emacs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/overlays/emacs.nix b/overlays/emacs.nix
index c0b370430e9f..23a179440ea7 100644
--- a/overlays/emacs.nix
+++ b/overlays/emacs.nix
@@ -48,7 +48,7 @@ let
               # patch to be used. Not sure if it's better to rely on
               # upstream Nixpkgs since it's cumbersome to wait for
               # things to get merged into master.
-                (super.lib.optionalString (old ? NATIVE_FULL_AOT)
+                (super.lib.optionalString ((old ? NATIVE_FULL_AOT) || (old ? env.NATIVE_FULL_AOT))
                     (let backendPath = (super.lib.concatStringsSep " "
                       (builtins.map (x: ''\"-B${x}\"'') ([
                         # Paths necessary so the JIT compiler finds its libraries: