kakoune fixed tm

This commit is contained in:
dusk 2021-04-17 02:32:45 +03:00
parent f6fffc51ab
commit 2e472975ae
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
3 changed files with 36 additions and 4 deletions

9
overlays/kakoune.nix Normal file
View File

@ -0,0 +1,9 @@
final: prev: rec {
kakoune-unwrapped = prev.kakoune-unwrapped.overrideAttrs (old: {
version = "5696ed02";
src = builtins.fetchGit {
url = "https://github.com/mawww/kakoune.git";
rev = "5696ed02e49cb9ba076a9a8ce908597720e7df1c";
};
});
}

17
overlays/kcr.nix Normal file
View File

@ -0,0 +1,17 @@
final: prev: {
kcr = prev.stdenv.mkDerivation {
pname = "kcr";
version = "nightly";
src = prev.fetchzip {
url = "https://github.com/alexherbo2/kakoune.cr/releases/download/nightly/kakoune.cr-nightly-x86_64-unknown-linux-musl.zip";
stripRoot = false;
sha256 = "sha256-3OqhuSXKZE/gakbUN/0iSqcsjvQnnXBcVq/zc7vMO04=";
};
installPhase = ''
mkdir -p $out/bin
install bin/kcr $out/bin
'';
};
}

View File

@ -14,11 +14,10 @@ let
fontComb = "${font} ${toString fontSize}";
fontPackage = pkgs.iosevka;
kideSrc = pkgs.fetchgit {
kideSrc = builtins.fetchGit {
url = "https://gitlab.com/yusdacra/kide.git";
rev = "2d76f8b668e7ff12fd686a101f0d26d50b6c0ece";
sha256 = "sha256-ONQmrJvNnmQ9W350od46VECW6Ir3KOMUJRnEMeVIsgg=";
fetchSubmodules = true;
rev = "778d68df0cfcb96d6113bfe6a59e5dfc71ee7d82";
submodules = true;
};
kideFiles =
mapAttrs' (n: _: nameValuePair "kak/${n}" { source = "${kideSrc}/${n}"; })
@ -31,6 +30,13 @@ let
kak-lsp
wl-clipboard
xclip
shellcheck
perl
socat
gdb
kcr
jq
file
];
chromiumWayland = pkgs.writeScriptBin "chromium-wayland" ''