diff options
author | Vincent Ambo <Vincent Ambo> | 2020-01-05T17·09+0000 |
---|---|---|
committer | Vincent Ambo <Vincent Ambo> | 2020-01-05T17·37+0000 |
commit | 1e71b80f6a734ee2d16ccc5bc51dba2788a89641 (patch) | |
tree | 7377413c14147afb9c4c80da98da1ab8a04babc2 | |
parent | b2af61e576a82f514a0ab1e380a7380b5fbe83e6 (diff) |
fix(emacs): Build emacs with imagemagick support r/335
-rw-r--r-- | third_party/default.nix | 1 | ||||
-rw-r--r-- | tools/emacs/default.nix | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/third_party/default.nix b/third_party/default.nix index e3c0f78325d7..abef9e872b59 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -47,6 +47,7 @@ let gzip haskell iana-etc + imagemagickBig jq kontemplate lib 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 ]; |