From 77c0c82383520020990fb0fe12592fcfaf5a4d3a Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 30 May 2023 16:27:51 -0700 Subject: Account for upstream refactor --- overlays/emacs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit 1.4.1