From d8891b43c2dc8ae68666fa5eda52eb1c5f6a5b76 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sat, 16 Apr 2022 17:02:02 -0400 Subject: [PATCH] Update emacs expression --- README.org | 2 +- modules/emacs.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index da04e6a..bd61ab4 100644 --- a/README.org +++ b/README.org @@ -1207,7 +1207,7 @@ It's somtimes desirable to have customization that takes effect during Emacs sta #+NAME: emacs-native-comp-package #+BEGIN_SRC nix -pkgs.emacsGcc; +pkgs.emacsNativeComp; #+END_SRC Native Comp, also known as GccEmacs, refers to the ~--with-native-compilation~ configuration option when building [[https://gnu.org/software/emacs/][GNU/Emacs]]. It adds support for compiling [[https://www.gnu.org/software/emacs/manual/html_node/elisp/index.html][Emacs Lisp]] to native code using ~libgccjit~. All of the Emacs Lisp packages shipped with Emacs are native-compiled, providing a noticable performance iomprovement out-of-the-box. diff --git a/modules/emacs.nix b/modules/emacs.nix index 0c98476..eddeabb 100644 --- a/modules/emacs.nix +++ b/modules/emacs.nix @@ -5,7 +5,7 @@ let myEmacs = pkgs.emacsWithPackagesFromUsePackage { config = ../README.org; - package = pkgs.emacsGcc; + package = pkgs.emacsNativeComp; alwaysEnsure = true; alwaysTangle = true; extraEmacsPackages = epkgs: [