nvim: add neovide

This commit is contained in:
Moritz Böhme 2023-03-02 09:13:46 +01:00
parent 67271f3ab9
commit e2d4143c2a
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
4 changed files with 90 additions and 62 deletions

View file

@ -56,6 +56,19 @@ in
});
};
neovide-hyprland = final.symlinkJoin {
name = "neovide-hyprland-${final.neovide.version}";
paths = [ final.neovide ];
nativeBuildInputs = [ final.makeWrapper ];
postBuild = ''
rm $out/bin/neovide
makeWrapper ${final.neovide}/bin/neovide $out/bin/neovide --set WINIT_UNIX_BACKEND x11
'';
meta = final.neovide.meta // {
mainProgram = "neovide";
};
};
master = import inputs.master {
inherit (prev) system;
config.allowUnfree = true;