diff --git a/modules/dev/editors/emacs/default.nix b/modules/dev/editors/emacs/default.nix index d595e58d..1785a3c3 100644 --- a/modules/dev/editors/emacs/default.nix +++ b/modules/dev/editors/emacs/default.nix @@ -12,7 +12,7 @@ with lib; let myEmacs = pkgs.emacsWithPackagesFromUsePackage { config = ../../../../config/emacs/emacs.org; - package = pkgs.emacs- + cfg.type; + package = "pkgs.emacs-" + cfg.type; alwaysEnsure = true; alwaysTangle = true; extraEmacsPackages = epkgs: [