mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
atuin: backport fix for bash-preexec
This commit is contained in:
parent
5ede2692b7
commit
c74bfa05e2
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, installShellFiles
|
||||
, rustPlatform
|
||||
, libiconv
|
||||
@ -19,6 +20,15 @@ rustPlatform.buildRustPackage rec {
|
||||
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
|
||||
cargoHash =
|
||||
if stdenv.isLinux
|
||||
|
Loading…
Reference in New Issue
Block a user