Incremental lorri build

This commit is contained in:
Nicolas Mattia 2019-07-01 11:08:48 +02:00
parent 05dadd284e
commit 065a596541

View file

@ -118,12 +118,13 @@ with rec
with rec with rec
{ crates = { crates =
{ lorri = buildPackageIncremental sources.lorri { lorri = buildPackageIncremental (libb.readTOML "${sources.lorri}/Cargo.lock") "lorri" "0.1.0" sources.lorri
{ override = _oldAttrs: { override = _oldAttrs:
{ BUILD_REV_COUNT = 1; { BUILD_REV_COUNT = 1;
RUN_TIME_CLOSURE = "${sources.lorri}/nix/runtime.nix"; RUN_TIME_CLOSURE = "${sources.lorri}/nix/runtime.nix";
}; };
doCheck = false; doCheck = false;
cargo = patchedCargo;
}; };
ripgrep-all = buildPackage sources.ripgrep-all {}; ripgrep-all = buildPackage sources.ripgrep-all {};