From 0e566393426dd26deb51d502b911746bb8f13835 Mon Sep 17 00:00:00 2001 From: Terje Larsen Date: Tue, 9 Mar 2021 19:15:13 +0100 Subject: [PATCH] emacs: do not use project package from elpa for emacs >= 28 The `project` package bundled with Emacs 28 is newer than the one provided by GNU ELPA. This may or may not change in the future. For now it is definitely the case and since the package is under heavy development a lot of features are missing in the one on GNU ELPA which in turn is newer than the one that comes bundled with Emacs 27. --- pkgs/applications/editors/emacs-modes/elpa-packages.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/editors/emacs-modes/elpa-packages.nix b/pkgs/applications/editors/emacs-modes/elpa-packages.nix index 98c265894ea..034b698137b 100644 --- a/pkgs/applications/editors/emacs-modes/elpa-packages.nix +++ b/pkgs/applications/editors/emacs-modes/elpa-packages.nix @@ -53,6 +53,9 @@ self: let seq = if lib.versionAtLeast self.emacs.version "27" then null else super.seq; + project = if lib.versionAtLeast self.emacs.version "28" + then null + else super.project; }; elpaPackages = super // overrides;