This commit is contained in:
0x4A6F 2024-02-10 18:06:49 +01:00
parent 3b5e4b9d76
commit 371e1506ed
No known key found for this signature in database
GPG Key ID: 8DEDBA5BE07080E1

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, installShellFiles
, rustPlatform
, libiconv
@ -19,6 +20,15 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-2nBaGoaTd1TGm8aZnrNA66HkW7+OrD6gOmj+uSFz020=";
};
patches = [
# https://github.com/atuinsh/atuin/pull/1694
(fetchpatch {
name = "0001-atuin_src_command_client_search_interactive.rs.patch";
url = "https://github.com/atuinsh/atuin/commit/6bc38f4cf3c8d2b6fbd135998a4e64e6abfb2566.patch";
hash = "sha256-pUiuECiAmq7nmKO/cOHZ1V5Iy3zDzZyBNNCH7Czo/NA=";
})
];
# TODO: unify this to one hash because updater do not support this
cargoHash =
if stdenv.isLinux