Fix blesh version

This commit is contained in:
Benjamin Bädorf 2023-06-12 11:47:45 +02:00
parent 8027bbd866
commit 59668a574f
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
2 changed files with 6 additions and 9 deletions

View file

@ -34,7 +34,7 @@ in {
# Syntax highlighting, auto suggestions, vim modes, etc. # Syntax highlighting, auto suggestions, vim modes, etc.
# https://github.com/akinomyoga/ble.sh/wiki/Manual-A1-Installation#user-content-nixpkgs # https://github.com/akinomyoga/ble.sh/wiki/Manual-A1-Installation#user-content-nixpkgs
source "$(blesh-share)" --attach=none source "$(blesh-share)/ble.sh" --attach=none
# ctrl + space to accept autocomplete suggestion # ctrl + space to accept autocomplete suggestion
ble-bind -m 'auto_complete' -f 'C-@' 'auto_complete/insert-on-end' ble-bind -m 'auto_complete' -f 'C-@' 'auto_complete/insert-on-end'
# Meta (Alt) + Backspace to delete a word # Meta (Alt) + Backspace to delete a word

View file

@ -1,13 +1,10 @@
final: prev: { final: prev: {
blesh = prev.blesh.overrideAttrs (oldAttrs: rec { blesh = prev.blesh.overrideAttrs (oldAttrs: rec {
version = "unstable-2023-02-01"; #inherit (prev.sources.blesh-nvfetcher) version src;
src = prev.fetchFromGitHub { version = "0.4.0-devel3";
owner = "akinomyoga"; src = prev.fetchzip {
repo = "ble.sh"; url = "https://github.com/akinomyoga/ble.sh/releases/download/v${version}/ble-${version}.tar.xz";
rev = "0ceb0cb38157c2c37650ffb069098783338eb02c"; sha256 = "sha256-kGLp8RaInYSrJEi3h5kWEOMAbZV/gEPFUjOLgBuMhCI=";
hash = "sha256-e/CetIdKuc8fhZp1v+SzOBwkZn8o1g5SjaF74Ir1daI=";
fetchSubmodules = true;
leaveDotGit = true;
}; };
}); });
} }