lorri: 1.2.0 -> 1.3.0

We forked lorri to nix-community, so this release also moves us over
to the new official repository.

Release notes:

Fix the build loop.

Previously, any change (for example a direnv ping or a change in the
nix files) would add a new build invocation to the queue, and the
builds would all be done one after the other.

However, a new build will always use the newest state of the files
anyway, so the CPU time spent on all the other builds will be
wasted (and hog your processor).

Now lorri will only

    finish the current build (if running)
    schedule at maximum one additional build if requested

This should improve the resource use drastically in some situations.

---

Make lorri daemon exit with exit code 0 instead of 130/143 on
SIGINT or SIGTERM.

---

Add lorri self-upgrade branch sub-subcommand.
This enables us to point users to a branch name, in order to test out
fixes from repository branches.
This commit is contained in:
Profpatsch 2021-03-05 13:07:31 +01:00
parent e75b4c796e
commit c7c81dced8

View file

@ -14,10 +14,10 @@
let
# Run `eval $(nix-build -A lorri.updater)` after updating the revision!
version = "1.2";
gitRev = "43a260c221d5dac4a44fd82271736c8444474eec";
sha256 = "0g6zq27dpr8bdan5xrqchybpbqwnhhc7x8sxbfygigbqd3xv9i6n";
cargoSha256 = "1zmlp14v7av0znmjyy2aq83lc74503p6r0l11l9iw7s3xad8rda4";
version = "1.3";
gitRev = "a26745e404c3a201fe98af4c000bb27f910542b1";
sha256 = "0gfkqvla2cphyhnl5xw19yf1v4pvwsvphr019y5r914cwqwnkb92";
cargoSha256 = "1a1alhpivlmxy8iv0ki7s0b8hf3hadashf81rzn207wn3yihsnaf";
in (rustPlatform.buildRustPackage rec {
pname = "lorri";
@ -25,13 +25,13 @@ in (rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "Your project's nix-env";
homepage = "https://github.com/target/lorri";
homepage = "https://github.com/nix-community/lorri";
license = licenses.asl20;
maintainers = with maintainers; [ grahamc Profpatsch ];
};
src = fetchFromGitHub {
owner = "target";
owner = "nix-community";
repo = pname;
rev = gitRev;
inherit sha256;