From 20339dd41ab83bc3f030b56ca0ba9d447dcb0300 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 24 Nov 2021 23:52:34 +0100 Subject: [PATCH] Build Emacs with pdf-tools support --- modules/periodic.nix | 2 +- modules/software.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/periodic.nix b/modules/periodic.nix index c54ed44..a68e118 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -4,7 +4,7 @@ with pkgs; let emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages - (epkgs: [ epkgs.vterm ])); + (epkgs: [ epkgs.vterm epkgs.pdf-tools ])); in { # Upgrade Doom Emacs daily diff --git a/modules/software.nix b/modules/software.nix index 93a2f94..9ffe11a 100644 --- a/modules/software.nix +++ b/modules/software.nix @@ -4,7 +4,7 @@ with pkgs; let emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages - (epkgs: [ epkgs.vterm ])); + (epkgs: [ epkgs.vterm epkgs.pdf-tools ])); in { environment.systemPackages = [ @@ -28,7 +28,7 @@ in { # Text editors neovim emacs-vterm - ripgrep + (ripgrep.override { withPCRE2 = true; }) fd clang coreutils