From 065a5965419042a945defccd569ad89e4c35c7b5 Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Mon, 1 Jul 2019 11:08:48 +0200 Subject: [PATCH] Incremental lorri build --- default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index b6062bd..f76c971 100644 --- a/default.nix +++ b/default.nix @@ -118,12 +118,13 @@ with rec with rec { crates = - { lorri = buildPackageIncremental sources.lorri + { lorri = buildPackageIncremental (libb.readTOML "${sources.lorri}/Cargo.lock") "lorri" "0.1.0" sources.lorri { override = _oldAttrs: { BUILD_REV_COUNT = 1; RUN_TIME_CLOSURE = "${sources.lorri}/nix/runtime.nix"; }; doCheck = false; + cargo = patchedCargo; }; ripgrep-all = buildPackage sources.ripgrep-all {};