flake: add kakoune

This commit is contained in:
Charlie Root 2025-03-12 18:49:01 +01:00
commit cf105b786e
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
3 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@
packages = eachSystem ( packages = eachSystem (
system: { system: {
inherit (import ./packages pkgsFor.${system}) helix fish; inherit (import ./packages pkgsFor.${system}) fish helix kakoune;
} }
); );

View file

@ -1,6 +1,6 @@
pkgs: let pkgs: let
helix = pkgs.callPackage ./helix.nix {}; helix = pkgs.callPackage ./helix.nix {};
kakoune = null; kakoune = pkgs.callPackage ./kakoune.nix {};
fish = pkgs.callPackage ./shell {}; fish = pkgs.callPackage ./shell {};
in { in {
inherit helix kakoune fish; inherit helix kakoune fish;

View file

@ -11,8 +11,8 @@
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mawww"; owner = "mawww";
repo = "kakoune"; repo = "kakoune";
rev = "be82047dbf5f74f123e925b96e0e13962a4e0c09"; rev = "da5e5bc635fa6a3def21d3d59906b9ee0f1d1831";
hash = "sha256-akSmIe0SUe9re8a90ssrykowCzThZnzqVow9erT+0U4="; hash = "sha256-+xqJrJr6nnmEpQaizQ3JMDEISCD8IMB84NJZiXJ74kY=";
}; };
makeFlags = ["debug=no" "PREFIX=${placeholder "out"}"]; makeFlags = ["debug=no" "PREFIX=${placeholder "out"}"];
@ -32,7 +32,7 @@
''; '';
}; };
plugins = builtins.attrValues { plugins = builtins.attrValues {
inherit (kakounePlugins) fzf-kak kakoune-catppuccin; inherit (kakounePlugins);
}; };
kakoune-wrapped = symlinkJoin { kakoune-wrapped = symlinkJoin {