From 09a8a72b0c5113aa40648949986278040487c9bd Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Wed, 16 Feb 2022 00:54:53 -0800 Subject: [PATCH] flake.nix: Add nix-eval-jobs patch to fix buffering --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index 459a350..a906243 100644 --- a/flake.nix +++ b/flake.nix @@ -69,10 +69,17 @@ nix-eval-jobs = prev.nix-eval-jobs.overrideAttrs (old: { version = old.version + "-colmena"; patches = (old.patches or []) ++ [ + # Add --show-trace (final.fetchpatch { url = "https://github.com/nix-community/nix-eval-jobs/commit/1e0f309fefc9b2d597f8475a74c82ce29c189152.patch"; sha256 = "sha256-246t3SGRA/9JsV2XPcI4Exp+TxmyYBoldQ43Wr5CcsM="; }) + + # Fix buffering when piped + (final.fetchpatch { + url = "https://github.com/zhaofengli/nix-eval-jobs/commit/6d61193286aedd4e514fd8f375b2000b95fff4fb.patch"; + sha256 = "sha256-yOuUwKHSS7Bt3q3nClirVk7DzJhxNFFZ8JnYjrPRJVc="; + }) ]; }); });