diff options
Diffstat (limited to 'third_party/default.nix')
-rw-r--r-- | third_party/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/default.nix b/third_party/default.nix index 7cd3b9f2c9d3..14fbe80e7344 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -218,6 +218,15 @@ in exposed.lib.fix(self: exposed // { clangStdenv = nixpkgs.llvmPackages_10.stdenv; stdenv = nixpkgs.llvmPackages_10.stdenv; + # Provide Emacs 27 + # + # 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; + emacs27-nox = assert ((exposed.lib.versions.major nixpkgs.emacs.version) == "27"); + nixpkgs.emacs-nox; + # The Go authors have released a version of Go (in alpha) that has a # type system. This makes it available, specifically for use with # //nix/buildTypedGo. |