NixOS stable - Emacs ImageMagick support

Hi,

Overriding with imagemagickBig works:
My actual NixOS config contains, for Emacs

nixpkgs = {
  config = {
    packageOverrides = pkgs: {
      emacs = pkgs.emacs.override {
        imagemagick = pkgs.imagemagick;
      };

    };
  };
};

As @Anthony Cowley posted above, but the problem in my case is that
solution does not “substitute emacs”, it build another Emacs with
proper ImageMagick support. I mean, today I have

/nix/store/0v04sr1j5c4d66pmxssqgb5brm6yxcgg-emacs-26.1

and

/nix/store/358kviq833wirlc2z6xw3r9jppr6jp01-emacs-26.1

The last one have ImageMagick support, the first, compiled form EXWM
derivation (I suppose) does not. So using EXWM activated with a simple

windowManager.exwm.enable = true;

bring me up an EXWM desktop, without ImageMagick support, however

services.xserver.windowManager.session = lib.singleton {
  name = "exwm";
  start = ''
    ${emacs}/bin/emacs 
  '';
};

Give an Emacs with ImageMagick support. My knowledge of Nix is too
limited (despite around an year of use I still haven’t had enough
time to study it more) to properly understand, In theory I suppose
that having overridden emacs derivation ANY other derivation that
use Emacs get the overridden one, but I see it’s not true… The
main point of using Nix exwm derivation is that it’s simpler and
more intuitive to my eyes.

– Ingmar