fix(emacs): Build emacs with imagemagick support

This commit is contained in:
Vincent Ambo 2020-01-05 17:09:21 +00:00
parent b2af61e576
commit 1e71b80f6a
2 changed files with 6 additions and 1 deletions

View file

@ -47,6 +47,7 @@ let
gzip gzip
haskell haskell
iana-etc iana-etc
imagemagickBig
jq jq
kontemplate kontemplate
lib lib

View file

@ -8,8 +8,12 @@ with third_party.emacsPackagesNg;
with third_party.emacs; with third_party.emacs;
let let
emacsWithImagemagick = third_party.emacs26.override {
# See https://github.com/NixOS/nixpkgs/issues/70631
imagemagick = third_party.imagemagickBig;
};
localPackages = pkgs.tools.emacs-pkgs; localPackages = pkgs.tools.emacs-pkgs;
emacsWithPackages = (third_party.emacsPackagesNgGen third_party.emacs26).emacsWithPackages; emacsWithPackages = (third_party.emacsPackagesNgGen emacsWithImagemagick).emacsWithPackages;
# $PATH for binaries that need to be available to Emacs # $PATH for binaries that need to be available to Emacs
emacsBinPath = lib.makeBinPath [ third_party.telega ]; emacsBinPath = lib.makeBinPath [ third_party.telega ];