about summary refs log tree commit diff
path: root/tools/emacs
diff options
context:
space:
mode:
authorVincent Ambo <Vincent Ambo>2020-01-05T17·09+0000
committerVincent Ambo <Vincent Ambo>2020-01-05T17·37+0000
commit1e71b80f6a734ee2d16ccc5bc51dba2788a89641 (patch)
tree7377413c14147afb9c4c80da98da1ab8a04babc2 /tools/emacs
parentb2af61e576a82f514a0ab1e380a7380b5fbe83e6 (diff)
fix(emacs): Build emacs with imagemagick support r/335
Diffstat (limited to 'tools/emacs')
-rw-r--r--tools/emacs/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/emacs/default.nix b/tools/emacs/default.nix
index d36673e363f4..e5c695a3e5e2 100644
--- a/tools/emacs/default.nix
+++ b/tools/emacs/default.nix
@@ -8,8 +8,12 @@ with third_party.emacsPackagesNg;
 with third_party.emacs;
 
 let
+  emacsWithImagemagick = third_party.emacs26.override {
+    # See https://github.com/NixOS/nixpkgs/issues/70631
+    imagemagick = third_party.imagemagickBig;
+  };
   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
   emacsBinPath = lib.makeBinPath [ third_party.telega ];