From b36af608e38e27fa4de9ad1253c4e5d1ad45e2dc Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 14 Feb 2024 20:23:29 +0400 Subject: [PATCH] idk if this works --- modules/dev/editors/emacs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: [