From dfafbdd56cea6c2721cbc105b627f722b1e93edb Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Thu, 11 Mar 2021 23:52:20 +0100 Subject: [PATCH] lorri: 1.3.0 -> 1.3.1 Fix `lorri direnv` triggering an unconditional rebuild every time it is run. After fixing up the build loop people suddenly started noticing that lorri was evaluating every time something ran `lorri direnv`, which could potentially be every time the user switched between buffers in the editor. This is not the intended behaviour, since we should run an unconditional build only the first time the project is added to the watcher, and after rely on the watcher to notify us of any file changes (or the user running `lorri internal ping` to force a rebuild). --- pkgs/tools/misc/lorri/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/misc/lorri/default.nix b/pkgs/tools/misc/lorri/default.nix index a7055437939..9635b6b4238 100644 --- a/pkgs/tools/misc/lorri/default.nix +++ b/pkgs/tools/misc/lorri/default.nix @@ -12,10 +12,10 @@ let # Run `eval $(nix-build -A lorri.updater)` after updating the revision! - version = "1.3"; - gitRev = "a26745e404c3a201fe98af4c000bb27f910542b1"; - sha256 = "0gfkqvla2cphyhnl5xw19yf1v4pvwsvphr019y5r914cwqwnkb92"; - cargoSha256 = "1a1alhpivlmxy8iv0ki7s0b8hf3hadashf81rzn207wn3yihsnaf"; + version = "1.3.1"; + gitRev = "df83b9b175fecc8ec8b02096c5cfe2db3d00b92e"; + sha256 = "1df6p0b482vhymw3z7gimc441jr7aix9lhdbcm5wjvw9f276016f"; + cargoSha256 = "1f9b2h3zakw7qmlnc4rqhxnw80sl5h4mj8cghr82iacxwqz499ql"; in (rustPlatform.buildRustPackage rec { pname = "lorri";