Hy,
thanks for the quick reply!
The package is called from
all-packages.nix
with
imagemagick => null
so you need to use something like this,nixpkgs.emacs.override { inherit (nixpkgs) imagemagick; }
Hum, maybe I do not understand (my nix knowledge is rather limited),
using directly this expression in my config result in an error so I
tried to “override” in nixpkgs.config like:
packageOverrides = pkgs: {
emacs = pkgs.emacs.override {
imagemagick = true;
};
};
However nixos-rebuild fail with
building '/nix/store/rxzlpnpmicmbwxgxxfp5gk5m0wn1a928-emacs-26.1.drv'...
build input 1 does not exist
Where am I wrong?
Unfortunately this does mean that you will be building emacs yourself;
fortunately it’s not the slowest build out there.
That’s ok, expected and not much a problem since Emacs on stable
does not change too frequently
– Ingmar