From fd5577fdbd79d2c22a86d37c80f702d59ef8e5c7 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 20 May 2022 00:55:02 +0200 Subject: [PATCH] Build emacs with pdf-tools support --- modules/periodic.nix | 2 +- modules/software.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/periodic.nix b/modules/periodic.nix index d02cd1f..2ab80e1 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -4,7 +4,7 @@ with pkgs; let emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages - (epkgs: [ epkgs.vterm ])); + (epkgs: with epkgs; [ vterm pdf-tools ])); isync-oauth2 = isync.overrideAttrs (div: rec { buildInputs = [ openssl patched-cyrus-sasl-oauth2 zlib ]; }); diff --git a/modules/software.nix b/modules/software.nix index ccccf78..93dc080 100644 --- a/modules/software.nix +++ b/modules/software.nix @@ -4,7 +4,7 @@ with pkgs; let emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages - (epkgs: [ epkgs.vterm ])); + (epkgs: with epkgs; [ vterm pdf-tools ])); patched-webtorrent-cli = nodePackages.webtorrent-cli.override { preRebuild = '' sed -i -e "s|#!/usr/bin/env node|#! ${pkgs.nodejs}/bin/node|" node_modules/node-gyp-build/bin.js