Install Emacs from nixpkgs.unstable

This commit is contained in:
Henrik Lissner 2019-09-07 00:29:48 -04:00
parent cea63fd4b8
commit 8b5dafef6a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -1,5 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let unstable = import <nixpkgs-unstable> {};
in
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(lib.mkIf (config.programs.gnupg.agent.enable) pinentry_emacs) (lib.mkIf (config.programs.gnupg.agent.enable) pinentry_emacs)
@ -7,7 +9,7 @@
editorconfig-core-c editorconfig-core-c
(ripgrep.override {withPCRE2 = true;}) (ripgrep.override {withPCRE2 = true;})
# Doom Emacs + dependencies # Doom Emacs + dependencies
emacs unstable.emacs
sqlite # :tools (lookup +docsets) sqlite # :tools (lookup +docsets)
texlive.combined.scheme-medium # :lang org -- for latex previews texlive.combined.scheme-medium # :lang org -- for latex previews
ccls # :lang (cc +lsp) ccls # :lang (cc +lsp)