From ed2f3ea330ebc34e7ea5708be4294f1943ff1f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sat, 20 Apr 2024 20:29:40 +0200 Subject: [PATCH] Generation 71 2024-04-20 20:29:39 (current) --- home/jonas/doom.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home/jonas/doom.nix b/home/jonas/doom.nix index c568b9c..369c847 100644 --- a/home/jonas/doom.nix +++ b/home/jonas/doom.nix @@ -7,6 +7,7 @@ doom-path-pkgs = with pkgs; [ (ripgrep.override {withPCRE2 = true;}) binutils + cmake editorconfig-core-c emacs-all-the-icons-fonts fd @@ -22,10 +23,9 @@ (emacsPackagesFor emacs29).emacsWithPackages (epkgs: [epkgs.vterm epkgs.treesit-grammars.with-all-grammars]); in - emacs-pkg - // (pkgs.symlinkJoin { + pkgs.symlinkJoin { name = "wrapped-emacs"; - paths = [emacs-pkg]; + paths = [pkgs.emacs29]; nativeBuildInputs = [pkgs.makeBinaryWrapper]; postBuild = '' wrapProgram $out/bin/emacs \ @@ -34,7 +34,7 @@ wrapProgram $out/bin/emacsclient \ --prefix PATH : ${lib.makeBinPath doom-path-pkgs} ''; - }); + }; doom-setup = pkgs.writeShellScript "doom-setup" '' export PATH="$PATH:${lib.makeBinPath doom-path-pkgs}" export EMACS="${wrapped-emacs}/bin/emacs"