fix(emacs): Build emacs with imagemagick support
This commit is contained in:
parent
b2af61e576
commit
1e71b80f6a
2 changed files with 6 additions and 1 deletions
1
third_party/default.nix
vendored
1
third_party/default.nix
vendored
|
@ -47,6 +47,7 @@ let
|
||||||
gzip
|
gzip
|
||||||
haskell
|
haskell
|
||||||
iana-etc
|
iana-etc
|
||||||
|
imagemagickBig
|
||||||
jq
|
jq
|
||||||
kontemplate
|
kontemplate
|
||||||
lib
|
lib
|
||||||
|
|
|
@ -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 ];
|
||||||
|
|
Loading…
Reference in a new issue