Build emacs with pdf-tools support

This commit is contained in:
coolneng 2022-05-20 00:55:02 +02:00
parent 1fca5ab697
commit fd5577fdbd
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ with pkgs;
let let
emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages
(epkgs: [ epkgs.vterm ])); (epkgs: with epkgs; [ vterm pdf-tools ]));
isync-oauth2 = isync.overrideAttrs isync-oauth2 = isync.overrideAttrs
(div: rec { buildInputs = [ openssl patched-cyrus-sasl-oauth2 zlib ]; }); (div: rec { buildInputs = [ openssl patched-cyrus-sasl-oauth2 zlib ]; });

View File

@ -4,7 +4,7 @@ with pkgs;
let let
emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages
(epkgs: [ epkgs.vterm ])); (epkgs: with epkgs; [ vterm pdf-tools ]));
patched-webtorrent-cli = nodePackages.webtorrent-cli.override { patched-webtorrent-cli = nodePackages.webtorrent-cli.override {
preRebuild = '' preRebuild = ''
sed -i -e "s|#!/usr/bin/env node|#! ${pkgs.nodejs}/bin/node|" node_modules/node-gyp-build/bin.js sed -i -e "s|#!/usr/bin/env node|#! ${pkgs.nodejs}/bin/node|" node_modules/node-gyp-build/bin.js