mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-11 09:22:02 +01:00
11fc09120b
Signed-off-by: Magic_RB <magic_rb@redalder.org>
18 lines
394 B
Nix
18 lines
394 B
Nix
{ cmake, libtool, glib, libvterm-neovim
|
|
, stdenv
|
|
|
|
, vtermModule
|
|
, emacsBase }:
|
|
stdenv.mkDerivation {
|
|
name = "vterm-module";
|
|
src = vtermModule;
|
|
buildInputs = [ cmake libtool glib.dev libvterm-neovim ];
|
|
cmakeFlags = [
|
|
"-DEMACS_SOURCE=${emacsBase.src}"
|
|
"-DUSE_SYSTEM_LIBVTERM=ON"
|
|
];
|
|
installPhase = ''
|
|
mkdir -p $out/lib
|
|
install ../vterm-module.so $out/lib
|
|
'';
|
|
}
|