From 317571499e441c976a0cee15b59b9d7bdc8b8fa6 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Thu, 9 Apr 2026 10:29:20 -0400 Subject: [PATCH] update atuin, lazygit there are overlays and are out of date --- modules/common/overlays.nix | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/modules/common/overlays.nix b/modules/common/overlays.nix index 5969180..a58e76f 100644 --- a/modules/common/overlays.nix +++ b/modules/common/overlays.nix @@ -10,13 +10,14 @@ final: prev: let }; in { lazygitLatest = prev.lazygit.overrideAttrs (_: rec { - version = "0.55.1"; + version = "0.61.0"; src = prev.fetchFromGitHub { owner = "jesseduffield"; repo = "lazygit"; rev = "v${version}"; - hash = "sha256-UofhgILZhVXnYiGpb25m4Ct4sbu5pRmjVgj3oEf5Uyk="; + hash = "sha256-G7JulCK9WUVWbp1V7lYuM3fehCdn1cNAJHYjr3aKDvQ="; }; + vendorHash = null; subPackages = [ "." ]; ldflags = [ @@ -28,21 +29,31 @@ in { atuinLatest = (prev.atuin.override { rustPlatform = myRustPlatform; }).overrideAttrs (oldAttrs: rec { - version = "18.10.0"; + version = "18.13.6"; src = prev.fetchFromGitHub { owner = "atuinsh"; repo = "atuin"; rev = "v${version}"; - hash = "sha256-bfSa3RtVXxHt3usDqqpE/oXKKDUZOrf+tD9uL59fr6M="; + hash = "sha256-yAw+ty6FUnFbiRTdAe2QQHzj6uU24fZ/bEIXcHl/thg="; }; cargoDeps = myRustPlatform.fetchCargoVendor { # name = "atuin-${version}-vendor.tar.gz"; inherit src; - hash = "sha256-67ffivZVCly1GWA3fJ9mT8nGv2EGd6eCthbaIu/IW3M="; + hash = "sha256-jirVe0+N5+UHZWioj8AipUhawMBameqEJJpa8HPTnfw="; }; + cargoBuildFeatures = [ + "ai" + "client" + "clipboard" + "daemon" + "hex" + "sync" + ]; + cargoCheckFeatures = cargoBuildFeatures; + preCheck = (oldAttrs.preCheck or "") + '' export HOME="$TMPDIR" export XDG_CONFIG_HOME="$TMPDIR/.config"