From 4ed096b7d7a92a7bfc637da95dccfc9fdb241994 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 18 Aug 2020 22:53:05 +0100 Subject: chore(3p/emacs): Enable cairo for Emacs 27.1 ... this in turn enables support for Harfbuzz, which enables support for ligatures - maybe this will make grfn happy! Change-Id: I331c5171a829800fe532ca0b0d4910478e63ef1b Reviewed-on: https://cl.tvl.fyi/c/depot/+/1783 Reviewed-by: glittershark Tested-by: BuildkiteCI --- third_party/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/third_party/default.nix b/third_party/default.nix index 14fbe80e73..897602f31e 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -223,7 +223,10 @@ in exposed.lib.fix(self: exposed // { # The assert exists because the name of the attribute is unversioned # (which is different from previous versions). emacs27 = assert ((exposed.lib.versions.major nixpkgs.emacs.version) == "27"); - nixpkgs.emacs; + nixpkgs.emacs.overrideAttrs(old: { + configureFlags = old.configureFlags ++ [ "--with-cairo" ]; + }); + emacs27-nox = assert ((exposed.lib.versions.major nixpkgs.emacs.version) == "27"); nixpkgs.emacs-nox; -- cgit 1.4.1