From 7ce410ea63e777635e6b4273ff9ceb59714e5db4 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 7 Oct 2022 22:00:20 -0400 Subject: [PATCH] wip emacs vterm --- flake.nix | 1 + home/emacs.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 home/emacs.nix diff --git a/flake.nix b/flake.nix index 8071ebe..e3e6934 100644 --- a/flake.nix +++ b/flake.nix @@ -146,6 +146,7 @@ ./home/neovim.nix ./home/email.nix ./home/terminal.nix + ./home/emacs.nix ./home/direnv.nix ./home/starship.nix ]; diff --git a/home/emacs.nix b/home/emacs.nix new file mode 100644 index 0000000..38d1e0d --- /dev/null +++ b/home/emacs.nix @@ -0,0 +1,19 @@ +{ pkgs, ... }: + +{ + # https://docs.doomemacs.org/latest/modules/term/vterm/ + # + # Sadly, this doesn't work yet. This is the blocker: + # https://github.com/akermu/emacs-libvterm/issues/333#issuecomment-1272195411 + home.packages = with pkgs; [ + cmake + libvterm-neovim + (pkgs.writeShellApplication { + name = "glibtool"; + runtimeInputs = [ libtool ]; + text = '' + libtool "$@" + ''; + }) + ]; +}