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.
# 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
ble-bind -m 'auto_complete' -f 'C-@' 'auto_complete/insert-on-end'
# Meta (Alt) + Backspace to delete a word

View file

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