emacs: 27.2 -> 28.1

Changed files
+18 -39
pkgs
-16
pkgs/applications/editors/emacs/27.nix
···
-
import ./generic.nix (rec {
-
version = "27.2";
-
sha256 = "sha256-tKfMTnjmPzeGJOCRkhW5EK9bsqCvyBn60pgnLp9Awbk=";
-
patches = fetchpatch: [
-
(fetchpatch {
-
name = "fix-aarch64-darwin-triplet.patch";
-
url = "https://git.savannah.gnu.org/cgit/emacs.git/patch/?id=a88f63500e475f842e5fbdd9abba4ce122cdb082";
-
sha256 = "sha256-RF9b5PojFUAjh2TDUW4+HaWveV30Spy1iAXhaWf1ZVg=";
-
})
-
# glibc 2.34 compat
-
(fetchpatch {
-
url = "https://src.fedoraproject.org/rpms/emacs/raw/181aafcdb7ee2fded9fce4cfc448f27edccc927f/f/emacs-glibc-2.34.patch";
-
sha256 = "sha256-2o3C/jhZPl2OW/LmVPt/fhdwbS9NOdF9lVEF1Kn9aEk=";
-
})
-
];
-
})
···
+5
pkgs/applications/editors/emacs/28.nix
···
···
+
import ./generic.nix (rec {
+
version = "28.1";
+
sha256 = "sha256-KLGz0JkDegiPCkyiUdfnJi6rXqFneqv/psRCaWGtdeE=";
+
patches = _: [ ];
+
})
-15
pkgs/applications/editors/emacs/at-fdcwd.patch
···
-
diff --git a/lib/careadlinkat.h b/lib/careadlinkat.h
-
index 84ede3e..8e8f42e 100644
-
--- a/lib/careadlinkat.h
-
+++ b/lib/careadlinkat.h
-
@@ -23,6 +23,10 @@
-
#include <fcntl.h>
-
#include <unistd.h>
-
-
+#ifndef AT_FDCWD
-
+#define AT_FDCWD -2
-
+#endif
-
+
-
struct allocator;
-
-
/* Assuming the current directory is FD, get the symbolic link value
···
+1 -1
pkgs/applications/editors/emacs/generic.nix
···
, libtiff, librsvg, gconf, libxml2, imagemagick, gnutls, libselinux
, alsa-lib, cairo, acl, gpm, AppKit, GSS, ImageIO, m17n_lib, libotf
, sigtool, jansson, harfbuzz, sqlite, nixosTests
-
, dontRecurseIntoAttrs ,emacsPackagesFor
, libgccjit, targetPlatform, makeWrapper # native-comp params
, systemd ? null
, withX ? !stdenv.isDarwin
···
, libtiff, librsvg, gconf, libxml2, imagemagick, gnutls, libselinux
, alsa-lib, cairo, acl, gpm, AppKit, GSS, ImageIO, m17n_lib, libotf
, sigtool, jansson, harfbuzz, sqlite, nixosTests
+
, dontRecurseIntoAttrs, emacsPackagesFor
, libgccjit, targetPlatform, makeWrapper # native-comp params
, systemd ? null
, withX ? !stdenv.isDarwin
+2 -2
pkgs/top-level/aliases.nix
···
electrum-dash = throw "electrum-dash has been removed from nixpkgs as the project is abandoned"; # Added 2022-01-01
# Emacs
-
emacs27Packages = emacs27.pkgs; # Added 2020-12-18
-
emacs27WithPackages = emacs27.pkgs.withPackages; # Added 2020-12-18
emacsPackages = emacs.pkgs; # Added 2020-12-18
emacsPackagesGen = throw "'emacsPackagesGen' has been renamed to/replaced by 'emacsPackagesFor'"; # Converted to throw 2022-02-22
emacsPackagesNg = emacs.pkgs; # Added 2019-08-07
···
electrum-dash = throw "electrum-dash has been removed from nixpkgs as the project is abandoned"; # Added 2022-01-01
# Emacs
+
emacs28Packages = emacs28.pkgs; # Added 2021-10-04
+
emacs28WithPackages = emacs28.pkgs.withPackages; # Added 2021-10-04
emacsPackages = emacs.pkgs; # Added 2020-12-18
emacsPackagesGen = throw "'emacsPackagesGen' has been renamed to/replaced by 'emacsPackagesFor'"; # Converted to throw 2022-02-22
emacsPackagesNg = emacs.pkgs; # Added 2019-08-07
+9 -4
pkgs/top-level/all-packages.nix
···
em = callPackage ../applications/editors/em { };
-
emacs = emacs27;
-
emacs-nox = emacs27-nox;
-
emacs27 = callPackage ../applications/editors/emacs/27.nix {
# use override to enable additional features
libXaw = xorg.libXaw;
Xaw3d = null;
···
inherit (darwin) sigtool;
};
-
emacs27-nox = lowPrio (emacs27.override {
withX = false;
withNS = false;
withGTK2 = false;
···
em = callPackage ../applications/editors/em { };
+
emacs = emacs28;
+
emacsNativeComp = emacs28NativeComp;
+
emacs-nox = emacs28-nox;
+
emacs28 = callPackage ../applications/editors/emacs/28.nix {
# use override to enable additional features
libXaw = xorg.libXaw;
Xaw3d = null;
···
inherit (darwin) sigtool;
};
+
emacs28NativeComp = emacs28.override {
+
nativeComp = true;
+
};
+
+
emacs28-nox = lowPrio (emacs28.override {
withX = false;
withNS = false;
withGTK2 = false;
+1 -1
pkgs/top-level/packages-config.nix
···
};
# This is an alias which we disallow by default; explicitly allow it
-
emacs27Packages = emacs27.pkgs;
};
}
···
};
# This is an alias which we disallow by default; explicitly allow it
+
emacs28Packages = emacs28.pkgs;
};
}