From 5b4698cde1116172d1f81c238a083cfa02800558 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 15 Aug 2023 15:37:14 -0600 Subject: [PATCH] [NixOS] [Emacs] Use tree sitter/native compilation flags for emacs everywhere --- nixos/essential.nix | 5 +---- nixos/overlay.nix | 5 +++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nixos/essential.nix b/nixos/essential.nix index 9cd5778e..cb867ce3 100644 --- a/nixos/essential.nix +++ b/nixos/essential.nix @@ -19,10 +19,7 @@ in environment.systemPackages = with pkgs; [ python-with-my-packages - (emacs29.override { - withNativeCompilation = true; - withTreeSitter = true; - }) + emacs automake bazel diff --git a/nixos/overlay.nix b/nixos/overlay.nix index bd521108..2de84a4c 100644 --- a/nixos/overlay.nix +++ b/nixos/overlay.nix @@ -33,4 +33,9 @@ final: prev: { hash = "sha256-HXkVjdAdmSQx3S4/rLif2slxJ/iXhOosthDGAPsMFIM="; }; }); + + emacs = prev.emacs29.override { + withNativeCompilation = true; + withTreeSitter = true; + }; }