atuin: backport fix for bash-preexec
This commit is contained in:
parent
5ede2692b7
commit
c74bfa05e2
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, libiconv
|
, libiconv
|
||||||
|
@ -19,6 +20,15 @@ rustPlatform.buildRustPackage rec {
|
||||||
hash = "sha256-fuVSn1vhKn2+Tw5f6zBYHFW3QSL4eisZ6d5pxsj5hh4=";
|
hash = "sha256-fuVSn1vhKn2+Tw5f6zBYHFW3QSL4eisZ6d5pxsj5hh4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# atuin with bash-preexec wasn't recording history properly after searching,
|
||||||
|
# backport recent fix until next release
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/atuinsh/atuin/commit/cb11af25afddbad552d337a9c82e74ac4302feca.patch";
|
||||||
|
sha256 = "sha256-cG99aLKs5msatT7vXiX9Rn5xur2WUjQ/U33nOxuon7I=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
# TODO: unify this to one hash because updater do not support this
|
# TODO: unify this to one hash because updater do not support this
|
||||||
cargoHash =
|
cargoHash =
|
||||||
if stdenv.isLinux
|
if stdenv.isLinux
|
||||||
|
|
Loading…
Reference in a new issue